mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 08:41:00 -06:00
fix forgotten lonely Dune 2.3 deprecation warning
This commit is contained in:
parent
3c8229586f
commit
3f7d617237
@ -286,7 +286,11 @@ void testQuadrature()
|
|||||||
isPeriodic, 0); // overlap
|
isPeriodic, 0); // overlap
|
||||||
|
|
||||||
// compute approximate integral
|
// compute approximate integral
|
||||||
|
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 3)
|
||||||
|
auto gridView = grid.leafGridView();
|
||||||
|
#else
|
||||||
auto gridView = grid.leafView();
|
auto gridView = grid.leafView();
|
||||||
|
#endif
|
||||||
auto eIt = gridView.begin<0>();
|
auto eIt = gridView.begin<0>();
|
||||||
const auto eEndIt = gridView.end<0>();
|
const auto eEndIt = gridView.end<0>();
|
||||||
Scalar result = 0;
|
Scalar result = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user