Skip to content

Commit

Permalink
Merge pull request opencv#10053 from terfendail:intersectconvex_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Nov 9, 2017
2 parents 51cef26 + 0205238 commit e89ae98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/imgproc/src/geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ float cv::intersectConvexConvex( InputArray _p1, InputArray _p2, OutputArray _p1
result = fp2;
nr = m;
}
else if( pointPolygonTest(_InputArray(fp2, n), fp1[0], false) >= 0 )
else if( pointPolygonTest(_InputArray(fp2, m), fp1[0], false) >= 0 )
{
result = fp1;
nr = n;
Expand Down

0 comments on commit e89ae98

Please sign in to comment.