[bugfix] dimension was renamed in Geometry, so use from Element to be

consistent with earlier DUNE versions.
This commit is contained in:
Robert Kloefkorn 2017-06-23 11:23:28 +02:00
parent 206523cbec
commit f1da775f41

View File

@ -1057,7 +1057,7 @@ private:
Scalar cellCenterDepth( const Element& element ) const
{
typedef typename Element :: Geometry Geometry;
static constexpr int zCoord = Geometry ::dimension - 1;
static constexpr int zCoord = Element :: dimension - 1;
Scalar zz = 0.0;
const Geometry geometry = element.geometry();