diff --git a/dune/subgrid/subgrid/subgridintersection.hh b/dune/subgrid/subgrid/subgridintersection.hh index bed83a4a8fc40b4d934ead2f65f64a5f26b739b4..03e3b282272bb777fe7d563b7b9b6bb8d0702bc6 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();