Skip to content

Commit

Permalink
Add another broadcast method for IntervalBox
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsanders authored and Luis Benet committed Jun 23, 2018
1 parent db190f2 commit ec1162c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/multidim/arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ wrap(v) = v

Base.broadcast(f, X::IntervalBox) = wrap(f.(X.v))
Base.broadcast(f, X::IntervalBox, Y::IntervalBox) = wrap(f.(X.v, Y.v))
Base.broadcast(f, X::IntervalBox, y) = wrap(f.(X.v, y))

0 comments on commit ec1162c

Please sign in to comment.