From feb496ba500b2108918810ada91834b2effa19f7 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <i-bird@localhost.localdomain> Date: Thu, 14 Jul 2016 22:40:52 +0200 Subject: [PATCH] Fixing instabilities --- src/PSE/Kernels_unit_tests.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PSE/Kernels_unit_tests.hpp b/src/PSE/Kernels_unit_tests.hpp index 5a777cfa..fc571c3c 100644 --- a/src/PSE/Kernels_unit_tests.hpp +++ b/src/PSE/Kernels_unit_tests.hpp @@ -101,6 +101,8 @@ BOOST_AUTO_TEST_CASE( pse_ker ) double c1 = y.get(i).get(j); double c2 = y_res.get(i).get(j); + // In divergent mode the system is too sensitive + // to compiler/hardware differences disable them if (j != 4 && j != 5) {BOOST_REQUIRE_CLOSE(c1,c2,3.0);} } -- GitLab