fix epsilons for several gpu tests
(cherry picked from commit 3e4bb371c8
)
This commit is contained in:

committed by
Alexander Smorkalov

parent
8bb26fa5de
commit
cc73c7000f
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user