From 5070f2a33418e22e9b63f7254b458b07c3305d04 Mon Sep 17 00:00:00 2001 From: Hamid Bazargani Date: Fri, 13 Feb 2015 00:44:19 -0500 Subject: [PATCH] Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl) Fix the issue given NULL inlMask --- modules/calib3d/src/rhorefc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calib3d/src/rhorefc.cpp b/modules/calib3d/src/rhorefc.cpp index 8a7b57feaa..6214813cac 100644 --- a/modules/calib3d/src/rhorefc.cpp +++ b/modules/calib3d/src/rhorefc.cpp @@ -1346,7 +1346,7 @@ inline void RHO_HEST_REFC::nStarOptimize(void){ */ inline void RHO_HEST_REFC::updateBounds(void){ - arg.maxI = sacCalcIterBound(arg.cfd, + arg.maxI = sacCalcIterBound(arg.cfd, (double)best.numInl/arg.N, SMPL_SIZE, arg.maxI);