mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 16:30:02 -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
|
||||
|
||||
// compute approximate integral
|
||||
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 3)
|
||||
auto gridView = grid.leafGridView();
|
||||
#else
|
||||
auto gridView = grid.leafView();
|
||||
#endif
|
||||
auto eIt = gridView.begin<0>();
|
||||
const auto eEndIt = gridView.end<0>();
|
||||
Scalar result = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user