From 5436cc67c585af8b1ea0c58268caa8c7a8964c15 Mon Sep 17 00:00:00 2001 From: Jaime RZ Date: Thu, 12 Oct 2023 16:47:41 +0100 Subject: [PATCH] Update src/sampler.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/sampler.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sampler.jl b/src/sampler.jl index c0b7cd1f..d66e716e 100644 --- a/src/sampler.jl +++ b/src/sampler.jl @@ -228,7 +228,7 @@ function sample( j = i - drop_warmup * n_adapts if keep_gradients sample = [t.z.θ; t.z.ℓπ] - else + else sample = t.z.θ end θs[j], stats[j] = sample, tstat