Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed Jan 8, 2025
1 parent 54df711 commit 8af52ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mcmc/particle_mcmc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ Create a Particle Gibbs sampler of type [`PG`](@ref) with `n` particles.
If the algorithm for the resampling step is not specified explicitly, systematic resampling
is performed if the estimated effective sample size per particle drops below 0.5.
"""
function PG(
nparticles::Int, resampler=AdvancedPS.ResampleWithESSThreshold()
)
function PG(nparticles::Int, resampler=AdvancedPS.ResampleWithESSThreshold())
return PG{typeof(resampler)}(nparticles, resampler)
end

Expand Down

0 comments on commit 8af52ea

Please sign in to comment.