We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c2cee3 commit dc90243Copy full SHA for dc90243
src/rng.jl
@@ -67,13 +67,17 @@ end
67
Generate a `seed` for the subrng based on top-level `rng` and `sampler`
68
"""
69
function gen_seed(rng::Random.AbstractRNG, ::TracedRNG{<:Integer}, sampler::Random.Sampler)
70
- return rand(rng, sampler)
+ x = rand(rng, sampler)
71
+ @show "1", rng, x
72
+ return x
73
end
74
75
function gen_seed(
76
rng::Random.AbstractRNG, ::TracedRNG{<:NTuple{N}}, sampler::Random.Sampler
77
) where {N}
- return Tuple(rand(rng, sampler, N))
78
+ x = Tuple(rand(rng, sampler, N))
79
+ @show "2", rng, x
80
81
82
83
0 commit comments