From 2f9b66d1ba15a4602caee89636abc0a67d9cfa9a Mon Sep 17 00:00:00 2001 From: Mattias Villani Date: Tue, 5 Sep 2023 10:48:50 +0200 Subject: [PATCH] Update script.jl added back the rng argument when sampling with PG. --- examples/particle-gibbs/script.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/particle-gibbs/script.jl b/examples/particle-gibbs/script.jl index 5bb61f4c..e72e1fc7 100644 --- a/examples/particle-gibbs/script.jl +++ b/examples/particle-gibbs/script.jl @@ -87,7 +87,7 @@ end # Here we use the particle gibbs kernel without adaptive resampling. model = NonLinearTimeSeries(θ₀) pg = AdvancedPS.PG(Nₚ, 1.0) -chains = sample(model, pg, Nₛ); +chains = sample(rng, model, pg, Nₛ; progress=false); #md nothing #hide # The trajectories are not stored during the sampling and we need to regenerate the history of each