1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fix epsilons for several gpu tests

(cherry picked from commit 3e4bb371c8)
This commit is contained in:
Vladislav Vinogradov
2014-02-06 12:41:19 +04:00
committed by Alexander Smorkalov
parent 8bb26fa5de
commit cc73c7000f
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ GPU_TEST_P(ConvertTo, WithOutScaling)
cv::Mat dst_gold;
src.convertTo(dst_gold, depth2);
EXPECT_MAT_NEAR(dst_gold, dst, 1.0);
EXPECT_MAT_NEAR(dst_gold, dst, depth2 < CV_32F ? 1.0 : 1e-4);
}
}