Skip to content

Commit

Permalink
Update src/mcmc/hmc.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
penelopeysm and github-actions[bot] authored Nov 29, 2024
1 parent c145dfe commit e3f8bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcmc/hmc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ getstepsize(sampler::Sampler{<:Hamiltonian}, state) = sampler.alg.ϵ
getstepsize(sampler::Sampler{<:AdaptiveHamiltonian}, state) = AHMC.getϵ(state.adaptor)
function getstepsize(

Check warning on line 466 in src/mcmc/hmc.jl

View check run for this annotation

Codecov / codecov/patch

src/mcmc/hmc.jl#L466

Added line #L466 was not covered by tests
sampler::Sampler{<:AdaptiveHamiltonian},
state::HMCState{TV,TKernel,THam,PhType,AHMC.Adaptation.NoAdaptation}
state::HMCState{TV,TKernel,THam,PhType,AHMC.Adaptation.NoAdaptation},
) where {TV,TKernel,THam,PhType}
return state.kernel.τ.integrator.ϵ

Check warning on line 470 in src/mcmc/hmc.jl

View check run for this annotation

Codecov / codecov/patch

src/mcmc/hmc.jl#L470

Added line #L470 was not covered by tests
end
Expand Down

0 comments on commit e3f8bce

Please sign in to comment.