1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #2845 from shaibagon:patch-1

This commit is contained in:
Vadim Pisarevsky
2014-06-12 21:38:55 +04:00
committed by OpenCV Buildbot
+1 -1
View File
@@ -430,7 +430,7 @@ Mat estimateGlobalMotionRansac(
{
subset0.resize(ninliersMax);
subset1.resize(ninliersMax);
for (int i = 0, j = 0; i < npoints; ++i)
for (int i = 0, j = 0; i < npoints && j < ninliersMax ; ++i)
{
p0 = points0_[i];
p1 = points1_[i];