mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
fix warnings under win
This commit is contained in:
@@ -1708,7 +1708,8 @@ PERF_TEST_P(Sz_Depth_Cn, Core_Sum, Combine(
|
||||
TEST_CYCLE() dst = cv::sum(src);
|
||||
}
|
||||
|
||||
SANITY_CHECK(dst, 1e-6);
|
||||
double error = (depth == CV_32F) ? 3e+1 : 1e-6;
|
||||
SANITY_CHECK(dst, error);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user