imgproc/intersection: fix loop index

pull/2246/head
Alexander Alekhin 11 years ago
parent 9041c31813
commit 9300af90cd
  1. 2
      modules/imgproc/src/intersection.cpp

@ -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
}
}
}

Loading…
Cancel
Save