Mentions légales du service

Skip to content
Snippets Groups Projects
0003-Relax-apriltag-test-threshold-when-lapack-is-used.patch 1.02 KiB
Newer Older
From 62f02f14dcdd351f18f23ed2ff7d0e91006a2cb7 Mon Sep 17 00:00:00 2001
From: Fabien Spindler <Fabien.Spindler@inria.fr>
Date: Tue, 9 Mar 2021 14:21:13 +0100
Subject: [PATCH 3/4] Relax apriltag test threshold when lapack is used

---
 modules/detection/test/testAprilTag.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/detection/test/testAprilTag.cpp b/modules/detection/test/testAprilTag.cpp
index 5c5a833..23875a4 100644
--- a/modules/detection/test/testAprilTag.cpp
+++ b/modules/detection/test/testAprilTag.cpp
@@ -736,7 +736,7 @@ TEST_CASE("Apriltag getTagsPoints3D test", "[apriltag_get_tags_points3D_test]")
     // failing on Ubuntu 18.04 when none of the Lapack 3rd party libraries, nor the built-in are used.
     // Admissible espilon value is 1e-14. Using 1e-15 makes the test failing.
 #ifdef VISP_HAVE_LAPACK
-    double epsilon = std::numeric_limits<double>::epsilon();
+    double epsilon = 1e-12;// std::numeric_limits<double>::epsilon();
 #else
     double epsilon = 1e-12;
 #endif
-- 
2.30.0