From 2e5b63296bb9b415cc7c2514ac51deb82c693bf6 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 27 Jul 2010 17:03:11 +0000 Subject: [PATCH] increased error threshold in matrix-solve test (ticket #496) --- tests/cxcore/src/amath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cxcore/src/amath.cpp b/tests/cxcore/src/amath.cpp index bed49b1..066f9d3 100644 --- a/tests/cxcore/src/amath.cpp +++ b/tests/cxcore/src/amath.cpp @@ -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 ///////////////////// -- 2.7.4