mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 00:01:57 -06:00
[bugfix] dimension was renamed in Geometry, so use from Element to be
consistent with earlier DUNE versions.
This commit is contained in:
parent
206523cbec
commit
f1da775f41
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user