From 2fb8d38271919bed9b4f73773dd1df489e709b27 Mon Sep 17 00:00:00 2001
From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Tue, 28 Feb 2017 11:25:10 +0100
Subject: [PATCH] [staggeredGrid][localJacobian] Initialize baseEps_ in
 constructor

* Curly bracket initializaton led to linker error with debug opts
---
 dumux/implicit/staggered/localjacobian.hh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dumux/implicit/staggered/localjacobian.hh b/dumux/implicit/staggered/localjacobian.hh
index 12b3d34ee1..b5c5b761cc 100644
--- a/dumux/implicit/staggered/localjacobian.hh
+++ b/dumux/implicit/staggered/localjacobian.hh
@@ -120,6 +120,7 @@ public:
     StaggeredLocalJacobian()
     {
         numericDifferenceMethod_ = GET_PARAM_FROM_GROUP(TypeTag, int, Implicit, NumericDifferenceMethod);
+        baseEps_ = GET_PROP_VALUE(TypeTag, BaseEpsilon);
     }
 
     /*!
@@ -572,7 +573,7 @@ private:
 
     AssemblyMap assemblyMap_;
 
-    static constexpr auto baseEps_{GET_PROP_VALUE(TypeTag, BaseEpsilon)};
+    std::array<std::array<Scalar, 2>, 2> baseEps_;
 };
 
 }
-- 
GitLab