Skip to content

Commit a605900

Browse files
committed
fix bad bug
1 parent c414095 commit a605900

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
@@ -283,7 +283,7 @@ function AbstractMCMC.step(
283283
# Update variables
284284
vi = state.vi
285285
if t.stat.is_accept
286-
vi = DynamicPPL.unflatten(vi, new_params)
286+
vi = DynamicPPL.unflatten(vi, t.z.θ)
287287
end
288288

289289
# Compute next transition and state.

0 commit comments

Comments
 (0)