diff --git a/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp b/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp index 67b3e2f9c..20753d550 100644 --- a/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp +++ b/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp @@ -108,7 +108,7 @@ public: // Set it up manually using ElementMapper = Dune::MultipleCodimMultipleGeomTypeMapper; - ElementMapper elemMapper(simulator_.vanguard().grid().leafGridView(), Dune::mcmgElementLayout()); + ElementMapper elemMapper(simulator_.gridView(), Dune::mcmgElementLayout()); detail::findOverlapAndInterior(simulator_.vanguard().grid(), elemMapper, overlapRows_, interiorRows_); #if HAVE_MPI if (parallelInformation_.type() == typeid(ParallelISTLInformation)) {