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 3eb7276 commit 89ac7d3Copy full SHA for 89ac7d3
ext/AdvancedPSLibtaskExt.jl
@@ -48,7 +48,6 @@ end
48
# return the log probability of the transition (or nothing if done)
49
function AdvancedPS.advance!(trace::LibtaskTrace, isref::Bool=false)
50
# Where is the RNG ?
51
- # isref ? AdvancedPS.load_state!(trace.rng) : AdvancedPS.save_state!(trace.model.ctask.dynamic_scope) # Nasty
52
isref ? AdvancedPS.load_state!(trace.rng) : AdvancedPS.save_state!(trace.rng)
53
AdvancedPS.inc_counter!(trace.rng)
54
0 commit comments