Skip to content

Commit

Permalink
Use ⊇ operator
Browse files Browse the repository at this point in the history
  • Loading branch information
petvana committed May 25, 2022
1 parent d23df89 commit b56f4be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/interval_tests/numeric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ end
end

# approximation used for testing (not to rely on ≈ for intervals)
# ⪆(x, y) = (x ≈ y) && (y ⊆ x)
(x::Interval, y::Interval) = x.lo y.lo && x.hi y.hi && y x
# ⪆(x, y) = (x ≈ y) && (x ⊇ y)
(x::Interval, y::Interval) = x.lo y.lo && x.hi y.hi && x y

@testset "`mod`" begin
r = 0.0625
Expand Down

0 comments on commit b56f4be

Please sign in to comment.