increased error threshold in matrix-solve test (ticket #496)
authorVadim Pisarevsky <no@email>
Tue, 27 Jul 2010 17:03:11 +0000 (17:03 +0000)
committerVadim Pisarevsky <no@email>
Tue, 27 Jul 2010 17:03:11 +0000 (17:03 +0000)
tests/cxcore/src/amath.cpp

index bed49b1..066f9d3 100644 (file)
@@ -2746,7 +2746,7 @@ void CxCore_SolveTest::get_minmax_bounds( int /*i*/, int /*j*/, int /*type*/, Cv
 
 double CxCore_SolveTest::get_success_error_level( int /*test_case_idx*/, int, int )
 {
-    return CV_MAT_DEPTH(cvGetElemType(test_array[OUTPUT][0])) == CV_32F ? 1e-2 : 1e-8;
+    return CV_MAT_DEPTH(cvGetElemType(test_array[OUTPUT][0])) == CV_32F ? 5e-2 : 1e-8;
 }
 
 
@@ -2796,7 +2796,7 @@ void CxCore_SolveTest::prepare_to_validation( int )
     cvTsZero( &test_mat[REF_OUTPUT][0] );
 }
 
-//CxCore_SolveTest solve_test;
+CxCore_SolveTest solve_test;
 
 
 ///////////////// SVD /////////////////////