Switch to Random.GLOBAL_RNG
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
This commit is contained in:
parent
fe7d957be3
commit
cd06648ec3
@ -303,7 +303,7 @@ function convert_to_polar(theta, r, r_extrema = ignorenan_extrema(r))
|
|||||||
x, y
|
x, y
|
||||||
end
|
end
|
||||||
|
|
||||||
function fakedata(sz...; rng=StableRNG(PLOTS_SEED))
|
function fakedata(sz...; rng=Random.GLOBAL_RNG(PLOTS_SEED))
|
||||||
y = zeros(sz...)
|
y = zeros(sz...)
|
||||||
for r in 2:size(y,1)
|
for r in 2:size(y,1)
|
||||||
y[r,:] = 0.95 * vec(y[r-1,:]) + randn(rng, size(y,2))
|
y[r,:] = 0.95 * vec(y[r-1,:]) + randn(rng, size(y,2))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user