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 ef7328f commit 7c32e3eCopy full SHA for 7c32e3e
src/mcmc/hmc.jl
@@ -191,7 +191,7 @@ function DynamicPPL.initialstep(
191
vi = last(DynamicPPL.evaluate!!(model, rng, vi, SampleFromUniform()))
192
theta = vi[:]
193
194
- hamiltonian = AHMC.Hamiltonian(metric, logπ, ∂logπ∂θ)
+ hamiltonian = AHMC.Hamiltonian(metric, lp_func, lp_grad_func)
195
z = AHMC.phasepoint(rng, theta, hamiltonian)
196
197
init_attempt_count += 1
0 commit comments