mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-09 12:38:08 -05:00
TransMult, Init, and SimConfig are references, applyModifierDeck takes reference, and EclipseState constructor too
This commit is contained in:
@@ -156,7 +156,7 @@ try
|
||||
try {
|
||||
deck = parser->parseFile(deck_filename , parseContext);
|
||||
Opm::checkDeck(deck, parser);
|
||||
eclipseState.reset(new Opm::EclipseState(deck , parseContext));
|
||||
eclipseState.reset(new Opm::EclipseState(*deck , parseContext));
|
||||
}
|
||||
catch (const std::invalid_argument& e) {
|
||||
std::cerr << "Failed to create valid ECLIPSESTATE object. See logfile: " << logFile << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user