mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
GridHelpers: Fix build when !HAVE_DUNE_CORNERPOINT
This commit fixes an incorrectly nested "#ifdef..#endif" block that leads to build failures when opm-autodiff is being used without dune-cornerpoint.
This commit is contained in:
parent
b3ce9bd730
commit
688d65e7ef
@ -273,6 +273,6 @@ CellVolumeIterator endCellVolumes(const Dune::CpGrid& grid)
|
|||||||
{
|
{
|
||||||
return CellVolumeIterator(grid, numCells(grid));
|
return CellVolumeIterator(grid, numCells(grid));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user