Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHnt committed Nov 18, 2023
1 parent 49d6c8e commit cb6c91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/intervals/construction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cb6c91e

Please sign in to comment.