imgproc/intersection: fix loop index
This commit is contained in:
parent
9041c31813
commit
9300af90cd
@ -231,7 +231,7 @@ int rotatedRectangleIntersection( const RotatedRect& rect1, const RotatedRect& r
|
|||||||
// Found a dupe, remove it
|
// Found a dupe, remove it
|
||||||
std::swap(intersection[j], intersection.back());
|
std::swap(intersection[j], intersection.back());
|
||||||
intersection.pop_back();
|
intersection.pop_back();
|
||||||
i--; // restart check
|
j--; // restart check
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user