Skip to content

Commit f83d695

Browse files
committed
Fix field name change
1 parent fe46018 commit f83d695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcmc/gibbs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ function setparams_varinfo!!(
438438
state::TuringState,
439439
params::AbstractVarInfo,
440440
)
441-
logdensity = DynamicPPL.setmodel(state.logdensity, model, sampler.alg.adtype)
441+
logdensity = DynamicPPL.setmodel(state.ldf, model, sampler.alg.adtype)
442442
new_inner_state = setparams_varinfo!!(
443443
AbstractMCMC.LogDensityModel(logdensity), sampler, state.state, params
444444
)

0 commit comments

Comments
 (0)