Skip to content

Commit 7bef23e

Browse files
committed
Cleanup
1 parent f9f4733 commit 7bef23e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/intervals/functions.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -389,5 +389,5 @@ is currently implemented only for a strictly positive or negative divisor y."""
389389
end
390390
end
391391

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

0 commit comments

Comments
 (0)