shared_ptr<EclipseGrid> -> const EclipseGrid&

This commit is contained in:
Joakim Hove 2016-08-31 10:02:24 +02:00
parent 9579e4acd8
commit 5aa2b97c31

View File

@ -42,7 +42,7 @@ try
std::cout << "Done!" << std::endl;
// Setup grid
GridManager grid(eclipseState->getInputGrid());
GridManager grid(*eclipseState->getInputGrid());
// Define rock and fluid properties
IncompPropertiesFromDeck incomp_properties(deck, eclipseState, *grid.c_grid());