Skip to content

Commit bc1282b

Browse files
committed
fix rename
1 parent 3636a14 commit bc1282b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mcmc/hmc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ end
2525
### Hamiltonian Monte Carlo samplers.
2626
###
2727

28-
varinfo(state::HMCState) = state.vi
28+
get_varinfo(state::HMCState) = state.vi
2929

3030
"""
3131
HMC(ϵ::Float64, n_leapfrog::Int; adtype::ADTypes.AbstractADType = AutoForwardDiff())

src/mcmc/particle_mcmc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ struct PGState
319319
rng::Random.AbstractRNG
320320
end
321321

322-
varinfo(state::PGState) = state.vi
322+
get_varinfo(state::PGState) = state.vi
323323

324324
function PGTransition(model::DynamicPPL.Model, vi::AbstractVarInfo, logevidence)
325325
theta = getparams(model, vi)

0 commit comments

Comments
 (0)