fix epsilons for several gpu tests

This commit is contained in:
Vladislav Vinogradov
2014-02-06 12:41:19 +04:00
parent b6ba1f226c
commit 3e4bb371c8
3 changed files with 7 additions and 7 deletions

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);
}
}