Merge pull request #19127 from asmorkalov:as/photo_fix_arm64

This commit is contained in:
Alexander Alekhin 2020-12-18 13:42:26 +00:00
commit 03e224ee83

View File

@ -227,7 +227,11 @@ TEST(Photo_CalibrateDebevec, regression)
diff = diff.mul(1.0f / response);
double max;
minMaxLoc(diff, NULL, &max);
ASSERT_FALSE(max > 0.1);
#if defined(__arm__) || defined(__aarch64__)
ASSERT_LT(max, 0.131);
#else
ASSERT_LT(max, 0.1);
#endif
}
TEST(Photo_CalibrateRobertson, regression)