Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
petvana committed May 27, 2022
1 parent f9f4733 commit 7bef23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/intervals/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -389,5 +389,5 @@ is currently implemented only for a strictly positive or negative divisor y."""
end
end

mod(x::Interval, y::Interval) where T = throw(ArgumentError("mod not defined for interval as divisor `y`"))
mod(x::Real, y::Interval) where T = throw(ArgumentError("mod not defined for interval as divisor `y`"))
mod(x::Interval, y::Interval) = throw(ArgumentError("mod not defined for interval as divisor `y`"))
mod(x::Real, y::Interval) = throw(ArgumentError("mod not defined for interval as divisor `y`"))

0 comments on commit 7bef23e

Please sign in to comment.