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 3636a14 commit bc1282bCopy full SHA for bc1282b
src/mcmc/hmc.jl
@@ -25,7 +25,7 @@ end
25
### Hamiltonian Monte Carlo samplers.
26
###
27
28
-varinfo(state::HMCState) = state.vi
+get_varinfo(state::HMCState) = state.vi
29
30
"""
31
HMC(ϵ::Float64, n_leapfrog::Int; adtype::ADTypes.AbstractADType = AutoForwardDiff())
src/mcmc/particle_mcmc.jl
@@ -319,7 +319,7 @@ struct PGState
319
rng::Random.AbstractRNG
320
end
321
322
-varinfo(state::PGState) = state.vi
+get_varinfo(state::PGState) = state.vi
323
324
function PGTransition(model::DynamicPPL.Model, vi::AbstractVarInfo, logevidence)
325
theta = getparams(model, vi)
0 commit comments