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 9f3f47c commit 0f6435fCopy full SHA for 0f6435f
ext/AdvancedPSLibtaskExt.jl
@@ -62,7 +62,7 @@ end
62
63
"""Set the RNG for a `LibtaskTrace`."""
64
function set_rng!(trace::LibtaskTrace, rng::Random.AbstractRNG)
65
- other = get_other_global(trace.model.ctask)
+ other = get_other_global(trace)
66
Libtask.set_taped_globals!(trace.model.ctask, TapedGlobals(rng, other))
67
trace.rng = rng
68
return trace
0 commit comments