mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
Merge pull request #2845 from shaibagon:patch-1
This commit is contained in:
commit
052c8516a8
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user