From 240b5e077351b49b8764c747066267744da1ffb1 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Mon, 6 Aug 2012 15:36:19 +0200
Subject: [PATCH] Comment out an assertion

---
 dune/tectonic/ellipticenergy.hh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dune/tectonic/ellipticenergy.hh b/dune/tectonic/ellipticenergy.hh
index 274d8c4c..df56a85c 100644
--- a/dune/tectonic/ellipticenergy.hh
+++ b/dune/tectonic/ellipticenergy.hh
@@ -63,7 +63,9 @@ template <int dim> class EllipticEnergy {
       ret = mg;
       ret *= -1;
     } else {
-      assert(false);
+      ret = SmallVector(0);
+      // FIXME: This can happen due to numerical instability
+      // assert(false);
     }
   }
 
-- 
GitLab