Skip to content

Commit c912fb9

Browse files
committed
fix hmc
1 parent 335cd2a commit c912fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcmc/hmc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function DynamicPPL.initialstep(
242242
# which we have no way to decompose this back into prior and
243243
# likelihood. I don't immediately see how to solve this without
244244
# re-evaluating the model.
245-
vi = DynamicPPL.evaluate!!(model, vi)
245+
_, vi = DynamicPPL.evaluate!!(model, vi)
246246
else
247247
# Reset VarInfo back to its original state.
248248
vi = DynamicPPL.unflatten(vi, theta)

0 commit comments

Comments
 (0)