Skip to content

Commit 9361c39

Browse files
committed
typo fix
1 parent 64eb0e4 commit 9361c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gibbs_example/mh.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function AbstractMCMC.logdensity_and_state(
1414
)
1515
if recompute_logp
1616
logp = AbstractMCMC.LogDensityProblems.logdensity(logdensity_function, state.params)
17-
return logp, MHState(substate.params, logp)
17+
return logp, MHState(state.params, logp)
1818
else
1919
return state.logp, state
2020
end

0 commit comments

Comments
 (0)