提交 052c8516 编写于 作者: V Vadim Pisarevsky 提交者: OpenCV Buildbot

Merge pull request #2845 from shaibagon:patch-1

......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册