From cb6c91e55534b88ca3d4555226811b78688fc43c Mon Sep 17 00:00:00 2001 From: OlivierHnt <38465572+OlivierHnt@users.noreply.github.com> Date: Sat, 18 Nov 2023 21:38:14 +0100 Subject: [PATCH] Fix doctest --- src/intervals/construction.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intervals/construction.jl b/src/intervals/construction.jl index a748d25f6..12e9eaa7f 100644 --- a/src/intervals/construction.jl +++ b/src/intervals/construction.jl @@ -234,10 +234,10 @@ semantically equivalent to `bareinterval(T, a)`. julia> setdisplay(:full); julia> IntervalArithmetic.atomic(Float64, 0.1) -Interval{Float64}(0.09999999999999999, 0.10000000000000002) +BareInterval{Float64}(0.09999999999999999, 0.10000000000000002) julia> IntervalArithmetic.atomic(Float64, 0.3) -Interval{Float64}(0.29999999999999993, 0.30000000000000004) +BareInterval{Float64}(0.29999999999999993, 0.30000000000000004) ``` """ atomic(::Type{T}, a) where {T<:NumTypes} = bareinterval(T, a)