transmult and initconfig are ref's, use ref for EclipseState constructor
This commit is contained in:
@@ -174,7 +174,7 @@ try
|
||||
Parser parser;
|
||||
ParseContext parseContext;
|
||||
DeckConstPtr deck = parser.parseFile(deck_filename , parseContext);
|
||||
EclipseStateConstPtr eclipseState = std::make_shared<EclipseState>(deck , parseContext);
|
||||
EclipseStateConstPtr eclipseState = std::make_shared<EclipseState>(*deck , parseContext);
|
||||
|
||||
// Grid init
|
||||
GridManager grid_manager(eclipseState->getInputGrid());
|
||||
|
Reference in New Issue
Block a user