You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using IntervalArithmetic: IntervalArithmetic, interval
using Unitful: Unitful, m
a =interval(0, 0)
b =interval(0, 1)
@assert a <= b
@assert a*m <= b*m # assertion failure here
and the reason why is:
julia> a <= b
true
julia> a < b
false
julia> a == b
false
It seems worthwhile to delegate all comparison methods, not only isless and <, at
As pointed out in JuliaIntervals/IntervalArithmetic.jl#237 (comment)
the assumption at
Unitful.jl/src/quantities.jl
Line 324 in 47d131b
might not hold. Take for instance
and the reason why is:
It seems worthwhile to delegate all comparison methods, not only
isless
and<
, atUnitful.jl/src/quantities.jl
Lines 263 to 275 in 47d131b
The text was updated successfully, but these errors were encountered: