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:
Bård Skaflestad 2014-04-09 16:07:59 +02:00
parent b3ce9bd730
commit 688d65e7ef

View File

@ -273,6 +273,6 @@ CellVolumeIterator endCellVolumes(const Dune::CpGrid& grid)
{
return CellVolumeIterator(grid, numCells(grid));
}
}
#endif
}
}