From 7668a68242d8613ceefaf0c01b6837fd1553ae4d Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Tue, 24 Oct 2017 15:35:49 +0200 Subject: [PATCH] Add missing typedef ctype from base class --- dune/subgrid/subgrid/subgridintersection.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dune/subgrid/subgrid/subgridintersection.hh b/dune/subgrid/subgrid/subgridintersection.hh index bed83a4..03e3b28 100644 --- a/dune/subgrid/subgrid/subgridintersection.hh +++ b/dune/subgrid/subgrid/subgridintersection.hh @@ -88,6 +88,7 @@ class SubGridLeafIntersection : // The type of the actual local geometry implementation typedef SubGridLocalGeometry<dim-1, dimworld, GridImp> LocalGeometryImpl; + using ctype = Base::ctype; using Base::insideIntersect_; @@ -203,7 +204,7 @@ public: } /*! @brief Return unit outer normal at the center of the intersection geometry */ - FieldVector<typename GridImp::ctype, dimworld> centerUnitOuterNormal () const + FieldVector<ctype, dimworld> centerUnitOuterNormal () const { if (neighbor() and (outside_.level() > inside_.level())) { auto normal = outsideIntersect_.centerUnitOuterNormal(); -- GitLab