From b3375d31e7292669e55308987a9d77b58cee81a8 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Wed, 30 Oct 2024 21:45:43 +0100 Subject: [PATCH] Fix doctest --- src/hdi.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hdi.jl b/src/hdi.jl index be4e46e..b0fcd3f 100644 --- a/src/hdi.jl +++ b/src/hdi.jl @@ -159,8 +159,8 @@ julia> x = vcat(randn(1000), randn(1000) .+ 5); julia> hdi(x; method=:multimodal) 2-element Vector{IntervalSets.ClosedInterval{Float64}}: - -1.9980967848656475 .. 2.296256249039345 - 2.685595428026672 .. 6.968326396887267 + -1.8882401079608677 .. 2.0017686164555037 + 2.9839268475847436 .. 6.9235952578447275 ``` """ function hdi(x::AbstractArray{<:Real}; kwargs...)