From 56f4d2361f3beda4c93bf4d496a645a965797348 Mon Sep 17 00:00:00 2001 From: alexeylatyshev Date: Fri, 26 Mar 2010 13:22:07 +0000 Subject: [PATCH 1/1] Fixed sobel filter test git-svn-id: https://code.ros.org/svn/opencv/trunk@2925 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08 --- opencv/tests/cv/src/afilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencv/tests/cv/src/afilter.cpp b/opencv/tests/cv/src/afilter.cpp index 1396d14b..c1ffc6a1 100644 --- a/opencv/tests/cv/src/afilter.cpp +++ b/opencv/tests/cv/src/afilter.cpp @@ -668,7 +668,7 @@ void CV_DerivBaseTest::get_test_array_types_and_sizes( int test_case_idx, double CV_DerivBaseTest::get_success_error_level( int /*test_case_idx*/, int /*i*/, int /*j*/ ) { int depth = CV_MAT_DEPTH(test_mat[INPUT][0].type); - return depth <= CV_8S ? 1 : 5e-4; + return depth <= CV_8S ? 2 : 5e-4; } -- 2.39.2