Commit 052c8516 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky Committed by OpenCV Buildbot

Merge pull request #2845 from shaibagon:patch-1

parents ad7440c0 91201b22
...@@ -430,7 +430,7 @@ Mat estimateGlobalMotionRansac( ...@@ -430,7 +430,7 @@ Mat estimateGlobalMotionRansac(
{ {
subset0.resize(ninliersMax); subset0.resize(ninliersMax);
subset1.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]; p0 = points0_[i];
p1 = points1_[i]; p1 = points1_[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment