Skip to content

Commit

Permalink
Fixed an old bug in boundingbox.
Browse files Browse the repository at this point in the history
  • Loading branch information
roelmatthysen committed Sep 19, 2017
1 parent 4f084ab commit 7fd383a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domains/extensions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ function boundingbox(d::UnionDomain)
end

function boundingbox(d::IntersectionDomain)
left = SVector(maximum(hcat(map(leftendpoint,elements(d))...),2))
right = SVector(minimum(hcat(map(rightendpoint,elements(d))...),2))
left = SVector(maximum(hcat(map(leftendpoint,elements(d))...),2)...)
right = SVector(minimum(hcat(map(rightendpoint,elements(d))...),2)...)
boundingbox(left,right)
end

Expand Down

0 comments on commit 7fd383a

Please sign in to comment.