fixed tests for aarch64
This commit is contained in:
@@ -33,5 +33,8 @@ PERF_TEST_P( Size_DepthSrc_DepthDst_Channels_alpha, convertTo,
|
||||
int runs = (sz.width <= 640) ? 8 : 1;
|
||||
TEST_CYCLE_MULTIRUN(runs) src.convertTo(dst, depthDst, alpha);
|
||||
|
||||
SANITY_CHECK(dst, alpha == 1.0 ? 1e-12 : 1e-7);
|
||||
if (depthDst >= CV_32F)
|
||||
SANITY_CHECK(dst, 1e-7, ERROR_RELATIVE);
|
||||
else
|
||||
SANITY_CHECK(dst, 1e-12);
|
||||
}
|
||||
|
Reference in New Issue
Block a user