From: Vadim Pisarevsky Date: Tue, 27 Jul 2010 16:51:39 +0000 (+0000) Subject: increased error threshold in matrix-invert test (ticket #465) X-Git-Tag: submit/tizen/20180620.034203~3^2~8871 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=486d410a3403dab89ba3b2852b9a31013ba66a83;p=platform%2Fupstream%2Fopencv.git increased error threshold in matrix-invert test (ticket #465) --- diff --git a/tests/cxcore/src/amath.cpp b/tests/cxcore/src/amath.cpp index 523840e799..bed49b1a2a 100644 --- a/tests/cxcore/src/amath.cpp +++ b/tests/cxcore/src/amath.cpp @@ -2526,7 +2526,7 @@ void CxCore_InvertTest::print_timing_params( int test_case_idx, char* ptr, int p double CxCore_InvertTest::get_success_error_level( int /*test_case_idx*/, int, int ) { - return CV_MAT_DEPTH(cvGetElemType(test_array[OUTPUT][0])) == CV_32F ? 1e-2 : 1e-7; + return CV_MAT_DEPTH(cvGetElemType(test_array[OUTPUT][0])) == CV_32F ? 1e-2 : 1e-6; } int CxCore_InvertTest::prepare_test_case( int test_case_idx ) @@ -2618,7 +2618,7 @@ void CxCore_InvertTest::prepare_to_validation( int ) cvTsSetIdentity( &test_mat[REF_OUTPUT][0], cvScalarAll(1.) ); } -//CxCore_InvertTest invert_test; +CxCore_InvertTest invert_test; ///////////////// solve /////////////////////