From 4f2690432ab2021265c2f487d31547b99d2ef81f Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Fri, 6 Sep 2024 06:55:17 +0200 Subject: [PATCH] print some t values to see if it is constant by mistake --- src/discrete_blocks.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/discrete_blocks.jl b/src/discrete_blocks.jl index 10b76f3..cf4ae09 100644 --- a/src/discrete_blocks.jl +++ b/src/discrete_blocks.jl @@ -194,6 +194,9 @@ end Internal function. This function seeds the seed parameter as well as the current simulation time. """ function seeded_randn(seed, t) + if rand() < 0.1 + @show t + end rng = StableRNGs.StableRNG(hash(t, hash(seed))) randn(rng) end