mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
[bugfix] dimension was renamed in Geometry, so use from Element to be
consistent with earlier DUNE versions.
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user