From efe1533e8fde264c98140d6a64bbad2aac561c1f Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Fri, 31 Aug 2012 15:31:09 +0000
Subject: [PATCH] (deprecated) 2pfluxvariables: adapt to name change

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9020 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/boxmodels/2p/2pfluxvariables.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/boxmodels/2p/2pfluxvariables.hh b/dumux/boxmodels/2p/2pfluxvariables.hh
index 7d35be322b..ed2ac1dd91 100644
--- a/dumux/boxmodels/2p/2pfluxvariables.hh
+++ b/dumux/boxmodels/2p/2pfluxvariables.hh
@@ -188,7 +188,7 @@ private:
         ///////////////
         // correct the pressure gradients by the gravitational acceleration
         ///////////////
-        if (GET_PARAM(TypeTag, bool, EnableGravity))
+        if (GET_PARAM_FROM_GROUP(TypeTag, bool, Problem, EnableGravity))
         {
             // estimate the gravitational acceleration at a given SCV face
             // using the arithmetic mean
-- 
GitLab