diff --git a/examples/tutorialproblem_coupled.hh b/examples/tutorialproblem_coupled.hh index 4756057d7..c9f611cac 100644 --- a/examples/tutorialproblem_coupled.hh +++ b/examples/tutorialproblem_coupled.hh @@ -93,9 +93,9 @@ SET_INT_PROP(TutorialProblemCoupled, GridCellsZ, 0); * \brief Tutorial problem for a fully coupled twophase box model. */ template -class TutorialProblemCoupled : public TwoPProblem /*@\label{tutorial-coupled:def-problem}@*/ +class TutorialProblemCoupled : public GET_PROP_TYPE(TypeTag, BaseProblem) /*@\label{tutorial-coupled:def-problem}@*/ { - typedef TwoPProblem ParentType; + typedef typename GET_PROP_TYPE(TypeTag, BaseProblem) ParentType; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;