1
0
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:
marina.kolpakova
2012-12-24 15:28:05 +04:00
parent 15e7712a26
commit 2128bd25e4
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -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);
}
//////////////////////////////////////////////////////////////////////