From 9361c3902d19ae5a5549ee96d794786c9c2c6dbd Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Tue, 17 Sep 2024 15:54:54 +0100 Subject: [PATCH] typo fix --- test/gibbs_example/mh.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gibbs_example/mh.jl b/test/gibbs_example/mh.jl index 06895ca9..fae03611 100644 --- a/test/gibbs_example/mh.jl +++ b/test/gibbs_example/mh.jl @@ -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