Skip to content

Commit

Permalink
Actually repair HDI docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed Oct 28, 2024
1 parent 6378a5d commit 1fee4ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hdi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ julia> hdi(x)
For multimodal distributions, you can use the `:multimodal` method:
```jldoctest hdi
)
julia> x = vcat(randn(1000), randn(1000) .+ 5);
julia> hdi(x; method=:multimodal2-element Vector{IntervalSets.ClosedInterval{Float64}}:
julia> hdi(x; method=:multimodal)
2-element Vector{IntervalSets.ClosedInterval{Float64}}:
-1.9980967848656475 .. 2.296256249039345
2.685595428026672 .. 6.968326396887267
```
Expand Down

0 comments on commit 1fee4ce

Please sign in to comment.