Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsch committed Dec 17, 2024
1 parent 64f8fcd commit 50be36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/strategies_and_params/poststepstrategy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,14 @@ julia> single_particle_density(v)
(0.2, 1.0, 1.6, 1.0, 0.2)
julia> single_particle_density(v; component=1)
(0.0, 1.6, 1.6, 0.4, 0.4)
(0.0, 0.8, 0.8, 0.2, 0.2)
```
# See also
* [`SingleParticleDensity`](@ref)
"""
function single_particle_density(dvec::AbstractDVec; component=0)
function single_particle_density(dvec; component=0)
K = keytype(dvec)
V = float(valtype(dvec))
M = num_modes(K)
Expand Down

0 comments on commit 50be36a

Please sign in to comment.