Merge pull request #2246 from alalek:intersection_loop_bug

pull/2236/merge
Andrey Pavlenko 11 years ago committed by OpenCV Buildbot
commit e8d66f5cb7
  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