From cd06648ec3d7470ac9d91a1f9a52425c999c4273 Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Fri, 23 Jul 2021 11:02:22 +0200 Subject: [PATCH] Switch to Random.GLOBAL_RNG Co-authored-by: Simon Christ --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 68471a16..36c6d340 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -303,7 +303,7 @@ function convert_to_polar(theta, r, r_extrema = ignorenan_extrema(r)) x, y end -function fakedata(sz...; rng=StableRNG(PLOTS_SEED)) +function fakedata(sz...; rng=Random.GLOBAL_RNG(PLOTS_SEED)) y = zeros(sz...) for r in 2:size(y,1) y[r,:] = 0.95 * vec(y[r-1,:]) + randn(rng, size(y,2))