Skip to content

Commit 03e224e

Browse files
committed
Merge pull request opencv#19127 from asmorkalov:as/photo_fix_arm64
2 parents 935cb40 + 57da381 commit 03e224e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/photo/test/test_hdr.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@ TEST(Photo_CalibrateDebevec, regression)
227227
diff = diff.mul(1.0f / response);
228228
double max;
229229
minMaxLoc(diff, NULL, &max);
230-
ASSERT_FALSE(max > 0.1);
230+
#if defined(__arm__) || defined(__aarch64__)
231+
ASSERT_LT(max, 0.131);
232+
#else
233+
ASSERT_LT(max, 0.1);
234+
#endif
231235
}
232236

233237
TEST(Photo_CalibrateRobertson, regression)

0 commit comments

Comments
 (0)