Switch to Random.GLOBAL_RNG

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
This commit is contained in:
t-bltg
2021-07-23 11:02:22 +02:00
committed by GitHub
parent fe7d957be3
commit cd06648ec3
+1 -1
View File
@@ -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))