fixed warning
authorIlya Lavrenov <ilya.lavrenov@itseez.com>
Thu, 21 May 2015 08:49:06 +0000 (11:49 +0300)
committerIlya Lavrenov <ilya.lavrenov@itseez.com>
Thu, 21 May 2015 08:49:06 +0000 (11:49 +0300)
modules/gpu/test/test_filters.cpp

index cac3c70..a6c5c04 100644 (file)
@@ -240,7 +240,7 @@ GPU_TEST_P(Scharr, Accuracy)
     cv::Mat dst_gold;
     cv::Scharr(src, dst_gold, -1, dx, dy, 1.0, 0.0, borderType);
 
-    EXPECT_MAT_NEAR(getInnerROI(dst_gold, cv::Size(3, 3)), getInnerROI(dst, cv::Size(3, 3)), CV_MAT_DEPTH(type) < CV_32F ? 0.0 : 0.1);
+    EXPECT_MAT_NEAR(getInnerROI(dst_gold, 3), getInnerROI(dst, 3), CV_MAT_DEPTH(type) < CV_32F ? 0.0 : 0.1);
 }
 
 #ifdef OPENCV_TINY_GPU_MODULE