From 48609ddb97165d09ae16b2c76a4f2b585b4db465 Mon Sep 17 00:00:00 2001 From: jcarpent <jcarpent@laas.fr> Date: Sun, 20 Nov 2016 08:25:37 +0100 Subject: [PATCH] [Unit Test] Change precision of the expected results to comply with Eigen 3.3.0 --- unittest/symmetric.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/symmetric.cpp b/unittest/symmetric.cpp index d8560fecc..92652cf61 100644 --- a/unittest/symmetric.cpp +++ b/unittest/symmetric.cpp @@ -188,7 +188,7 @@ BOOST_AUTO_TEST_CASE ( test_pinocchio_Sym3 ) Symmetric3 S(M); for(int i=0;i<3;++i) for(int j=0;j<3;++j) - BOOST_CHECK_EQUAL(S(i,j), M(i,j) ); + BOOST_CHECK_SMALL(S(i,j) - M(i,j), Eigen::NumTraits<double>::dummy_precision()); } } -- GitLab