Skip to content

Commit

Permalink
Update script.jl
Browse files Browse the repository at this point in the history
added back the rng argument when sampling with PG.
  • Loading branch information
mattiasvillani authored Sep 5, 2023
1 parent ad1ab3e commit 2f9b66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/particle-gibbs/script.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f9b66d

Please sign in to comment.