transmult and initconfig are ref's, use ref for EclipseState constructor

This commit is contained in:
Pål Grønås Drange
2016-08-08 10:02:53 +02:00
parent 6f264781b0
commit 2a773b735e
16 changed files with 37 additions and 37 deletions

View File

@@ -38,7 +38,7 @@ try
ParseContext parseContext;
Opm::ParserPtr parser(new Opm::Parser());
Opm::DeckConstPtr deck = parser->parseFile(file_name , parseContext);
Opm::EclipseStateConstPtr eclipseState(new Opm::EclipseState(deck , parseContext));
Opm::EclipseStateConstPtr eclipseState(new Opm::EclipseState(*deck , parseContext));
std::cout << "Done!" << std::endl;
// Setup grid