Skip to content

Commit

Permalink
add missing case
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Nov 7, 2018
1 parent 7026510 commit 4f4f1a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/concrete_intersection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ function intersection(P1::AbstractHPolygon{N},
c[i+1:length(c)-duplicates] = c2[i2+1:length(c2)]
end
return true
elseif i2 == length(c2)
c[i+1:length(c)-duplicates] = c1[i1+1:length(c1)]
return true
end
return false
end
Expand Down

0 comments on commit 4f4f1a5

Please sign in to comment.