Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Sep 17, 2024
1 parent 64eb0e4 commit 9361c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gibbs_example/mh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function AbstractMCMC.logdensity_and_state(
)
if recompute_logp
logp = AbstractMCMC.LogDensityProblems.logdensity(logdensity_function, state.params)
return logp, MHState(substate.params, logp)
return logp, MHState(state.params, logp)
else
return state.logp, state
end
Expand Down

0 comments on commit 9361c39

Please sign in to comment.