We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64eb0e4 commit 9361c39Copy full SHA for 9361c39
test/gibbs_example/mh.jl
@@ -14,7 +14,7 @@ function AbstractMCMC.logdensity_and_state(
14
)
15
if recompute_logp
16
logp = AbstractMCMC.LogDensityProblems.logdensity(logdensity_function, state.params)
17
- return logp, MHState(substate.params, logp)
+ return logp, MHState(state.params, logp)
18
else
19
return state.logp, state
20
end
0 commit comments