From 0be8af54aa4b621a1a8febb44eeec7328776fdb0 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Mon, 6 Feb 2012 22:02:08 +0000
Subject: [PATCH] tutorial: fix -pedantic error

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7646 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 tutorial/tutorialproblem_decoupled.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tutorial/tutorialproblem_decoupled.hh b/tutorial/tutorialproblem_decoupled.hh
index c13388bb6e..9c5a1ae272 100644
--- a/tutorial/tutorialproblem_decoupled.hh
+++ b/tutorial/tutorialproblem_decoupled.hh
@@ -150,7 +150,7 @@ class TutorialProblemDecoupled: public IMPESProblem2P<TypeTag> /*@\label{tutoria
 
 public:
     TutorialProblemDecoupled(TimeManager &timeManager, const GridView &gridView)
-        : ParentType(timeManager, gridView) /*@\label{tutorial-decoupled:constructor-problem}@*/
+        : ParentType(timeManager, gridView), eps_(1e-6)/*@\label{tutorial-decoupled:constructor-problem}@*/
     {    }
 
     //! The problem name.
@@ -302,7 +302,7 @@ public:
     }
 
 private:
-    static constexpr Scalar eps_ = 1e-6;
+    const Scalar eps_;
 };
 } //end namespace
 
-- 
GitLab