1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #2246 from alalek:intersection_loop_bug

This commit is contained in:
Andrey Pavlenko
2014-01-31 18:58:01 +04:00
committed by OpenCV Buildbot
+1 -1
View File
@@ -231,7 +231,7 @@ int rotatedRectangleIntersection( const RotatedRect& rect1, const RotatedRect& r
// Found a dupe, remove it
std::swap(intersection[j], intersection.back());
intersection.pop_back();
i--; // restart check
j--; // restart check
}
}
}