Skip to content

Commit 4c1db31

Browse files
committed
updated DynamicHMC integration
1 parent 024f83d commit 4c1db31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/contrib/inference/dynamichmc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function DynamicPPL.initialstep(
9797

9898
# Update the variables.
9999
vi[spl] = Q.q
100-
DynamicPPL.setlogp!(vi, Q.ℓq)
100+
DynamicPPL.setlogp!!(vi, Q.ℓq)
101101

102102
# Create first sample and state.
103103
sample = Transition(vi)
@@ -127,7 +127,7 @@ function AbstractMCMC.step(
127127

128128
# Update the variables.
129129
vi[spl] = Q.q
130-
DynamicPPL.setlogp!(vi, Q.ℓq)
130+
DynamicPPL.setlogp!!(vi, Q.ℓq)
131131

132132
# Create next sample and state.
133133
sample = Transition(vi)

0 commit comments

Comments
 (0)