Skip to content

Commit 3e9158a

Browse files
committed
Merge pull request opencv#19128 from asmorkalov:as/gapi_phase_tolerance
2 parents b82700a + 009860e commit 3e9158a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/gapi/test/common/gapi_core_tests_inl.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,11 @@ TEST_P(PhaseTest, AccuracyTest)
12971297
// Comparison //////////////////////////////////////////////////////////////
12981298
// FIXME: use a comparison functor instead (after enabling OpenCL)
12991299
{
1300+
#if defined(__aarch64__) || defined(__arm__)
1301+
EXPECT_NEAR(0, cvtest::norm(out_mat_ocv, out_mat_gapi, NORM_INF), 4e-6);
1302+
#else
13001303
EXPECT_EQ(0, cvtest::norm(out_mat_ocv, out_mat_gapi, NORM_INF));
1304+
#endif
13011305
}
13021306
}
13031307

0 commit comments

Comments
 (0)