From 821de96346253f76a67b68e895a7fe31ca5ffb8f Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Thu, 11 Oct 2012 20:35:28 +0400 Subject: [PATCH] Adjust thresholds in sanity checks for batchDistance --- modules/features2d/perf/perf_batchDistance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features2d/perf/perf_batchDistance.cpp b/modules/features2d/perf/perf_batchDistance.cpp index aa57d88..cf58be4 100644 --- a/modules/features2d/perf/perf_batchDistance.cpp +++ b/modules/features2d/perf/perf_batchDistance.cpp @@ -125,7 +125,7 @@ PERF_TEST_P(Norm_CrossCheck, batchDistance_32F, normType, knn, Mat(), 0, isCrossCheck); } - SANITY_CHECK(dist); + SANITY_CHECK(dist, 1e-4); if (isCrossCheck) SANITY_CHECK(ndix); } -- 2.7.4