Skip to content

Commit 0f6435f

Browse files
authored
Update ext/AdvancedPSLibtaskExt.jl
1 parent 9f3f47c commit 0f6435f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/AdvancedPSLibtaskExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ end
6262

6363
"""Set the RNG for a `LibtaskTrace`."""
6464
function set_rng!(trace::LibtaskTrace, rng::Random.AbstractRNG)
65-
other = get_other_global(trace.model.ctask)
65+
other = get_other_global(trace)
6666
Libtask.set_taped_globals!(trace.model.ctask, TapedGlobals(rng, other))
6767
trace.rng = rng
6868
return trace

0 commit comments

Comments
 (0)