Skip to content

Commit 99c27c0

Browse files
committed
Fix atomic
1 parent d473f78 commit 99c27c0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/intervals/construction.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ Otherwise it is the same as using the `Interval` constructor directly.
211211
atomic(::Type{Interval{T}}, x) where {T<:NumTypes} = interval(T, x)
212212
atomic(::Type{Interval{T}}, x::AbstractString) where {T<:NumTypes} = parse(Interval{T}, x)
213213

214-
atomic(::Type{Interval{T}}, x::AbstractFloat) where {T<:Rational} = Interval{T}(lo, hi)
215214
function atomic(::Type{Interval{T}}, x::AbstractFloat) where {T<:AbstractFloat}
216215
lo = T(x, RoundDown)
217216
hi = T(x, RoundUp)

0 commit comments

Comments
 (0)