We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea00b23 commit 439723fCopy full SHA for 439723f
src/intervals/functions.jl
@@ -383,3 +383,5 @@ function mod(x::Interval, y::Real)
383
fl = floor(division)
384
fl.lo < fl.hi ? Interval(zero(y), y) : y * (division - fl)
385
end
386
+
387
+mod(x:T, y::Interval) where T = throw(ArgumentError("mod not defined for interval as divisor `y`"))
0 commit comments