Skip to content

Commit 8f399c8

Browse files
dpsanderslbenet
authored andcommitted
Add another broadcast method for IntervalBox (#159)
1 parent c0e6a2b commit 8f399c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/multidim/arithmetic.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ wrap(v) = v
2323

2424
Base.broadcast(f, X::IntervalBox) = wrap(f.(X.v))
2525
Base.broadcast(f, X::IntervalBox, Y::IntervalBox) = wrap(f.(X.v, Y.v))
26+
Base.broadcast(f, X::IntervalBox, y) = wrap(f.(X.v, y))

0 commit comments

Comments
 (0)