Skip to content

Commit

Permalink
Update src/container.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai committed Feb 3, 2022
1 parent 9088efc commit ed1afe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/container.jl
Expand Up @@ -56,7 +56,7 @@ function forkr(trace::Trace)
newf = reset_model(trace.f)
Random123.set_counter!(trace.rng, 1)

ctask = Libtask.CTask(trace.ctask, trace.rng)
ctask = Libtask.CTask(newf, trace.rng)

# add backward reference
newtrace = Trace(newf, ctask, trace.rng)
Expand Down

0 comments on commit ed1afe1

Please sign in to comment.