From 93c246de48f87909c35681529a3a55c73eb73ea4 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Wed, 27 Apr 2016 12:42:38 +0200 Subject: [PATCH] Try to fix test. --- tests/manifold/composition_manifold_04.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/manifold/composition_manifold_04.cc b/tests/manifold/composition_manifold_04.cc index c0d3c33b63..deec2cb00a 100644 --- a/tests/manifold/composition_manifold_04.cc +++ b/tests/manifold/composition_manifold_04.cc @@ -43,9 +43,12 @@ int main () cp[0][0] = 1.0; cp[1][0] = 1.0; + // Force roundoff errors on one side only + double eps=1e-10; + // Last point cp[0][1] = -numbers::PI/4; - cp[1][1] = numbers::PI/4; + cp[1][1] = numbers::PI/4-eps; // Spacedim points std::vector > sp(2); -- 2.39.5