]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
make the singularity check in 8-point method less strict.
authorvp153 <vp153@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Fri, 3 Oct 2008 14:42:00 +0000 (14:42 +0000)
committervp153 <vp153@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Fri, 3 Oct 2008 14:42:00 +0000 (14:42 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@1302 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/src/cv/cvfundam.cpp

index d42c3b97768c552c13acbf28da09e23dfd5a3b84..e0b09c7c0e51a86829a8c1a38c7fd6e8c64e8ec9 100644 (file)
@@ -860,7 +860,7 @@ int CvFMEstimator::run8Point( const CvMat* _m1, const CvMat* _m2, CvMat* _fmatri
 
     for( i = 0; i < 8; i++ )
     {
-        if( fabs(w[i]) < FLT_EPSILON )
+        if( fabs(w[i]) < DBL_EPSILON )
             break;
     }