From 4078847c5e9cf07337c725d00ab93174ab492be4 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Wed, 14 Mar 2012 11:10:37 +0100
Subject: [PATCH] Softer assertions

---
 dune/tectonic/myblockproblem.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh
index e3fae3ff..08cce02b 100644
--- a/dune/tectonic/myblockproblem.hh
+++ b/dune/tectonic/myblockproblem.hh
@@ -132,7 +132,7 @@ template <class MyConvexProblemTypeTEMPLATE> class MyBlockProblem {
     psi.subDiff(0, D);
     if (D[1] > 0) {
       // NOTE: Numerical instability can actually get us here
-      assert(std::abs(D[1]) < 1e-15);
+      assert(std::abs(D[1]) < 1e-13);
       return 0;
     }
 
-- 
GitLab