From dcdb23951da0f199209ac830e3fda7b2dc4bfbe4 Mon Sep 17 00:00:00 2001 From: hongkai-dai Date: Sat, 9 Jun 2018 23:38:37 -0700 Subject: [PATCH] Relax the tolerance for Mac. --- test/narrowphase/detail/convexity_based_algorithm/test_epa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/narrowphase/detail/convexity_based_algorithm/test_epa.cpp b/test/narrowphase/detail/convexity_based_algorithm/test_epa.cpp index bc9525722..6a8acf7fe 100644 --- a/test/narrowphase/detail/convexity_based_algorithm/test_epa.cpp +++ b/test/narrowphase/detail/convexity_based_algorithm/test_epa.cpp @@ -105,7 +105,7 @@ GTEST_TEST(FCL_GJK_EPA, faceNormalPointingOutward) { libccd_extension::faceNormalPointingOutward(p.polytope(), p.f(i)); for (int j = 0; j < 4; ++j) { EXPECT_LE(ccdVec3Dot(&n, &p.v(j)->v.v), - ccdVec3Dot(&n, &p.f(i)->edge[0]->vertex[0]->v.v) + 1E-10); + ccdVec3Dot(&n, &p.f(i)->edge[0]->vertex[0]->v.v) + 1E-8); } } }