From 39a4c24ab4ec605196dfb504be13c1cbdaa401aa Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Tue, 5 Nov 2024 02:07:40 +0000 Subject: [PATCH] Update test/adaptation.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/adaptation.jl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/adaptation.jl b/test/adaptation.jl index 94cbef12..0be29505 100644 --- a/test/adaptation.jl +++ b/test/adaptation.jl @@ -15,7 +15,16 @@ function runnuts(ℓπ, metric; n_samples = 3_000) κ = AdvancedHMC.make_kernel(nuts, integrator) adaptor = AdvancedHMC.make_adaptor(nuts, metric, integrator) # Use mutating version of sample() here - samples, stats = AdvancedHMC.sample_mutating_adaptor(rng, h, κ, θ_init, n_samples, adaptor, n_adapts; verbose = false) + samples, stats = AdvancedHMC.sample_mutating_adaptor( + rng, + h, + κ, + θ_init, + n_samples, + adaptor, + n_adapts; + verbose = false, + ) return (samples = samples, stats = stats, adaptor = adaptor) end