Skip to content

Commit a8441a6

Browse files
authored
Default return value for extended_div (#313)
* Give extended_div a default return value * Fix missing end
1 parent 9fe0bc4 commit a8441a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/intervals/arithmetic.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ function extended_div(a::Interval{T}, b::Interval{T}) where T<:Real
226226
end
227227
elseif 0 a && 0 b
228228
return (entireinterval(S), emptyinterval(S))
229-
else
230-
return (a / b, emptyinterval(S))
231229
end
230+
231+
return (a / b, emptyinterval(S))
232232
end
233233

234234
//(a::Interval, b::Interval) = a / b # to deal with rationals

0 commit comments

Comments
 (0)