mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 15:31:55 -06:00
Update to new parserMode interface
This commit is contained in:
parent
332ded52e8
commit
86afb1bbf6
@ -214,10 +214,9 @@ try
|
||||
Opm::OpmLog::addBackend( "COUNTER" , counterLog );
|
||||
}
|
||||
|
||||
Opm::ParseMode parseMode;
|
||||
Opm::DeckConstPtr deck;
|
||||
std::shared_ptr<EclipseState> eclipseState;
|
||||
parseMode.randomSlash = InputError::IGNORE;
|
||||
Opm::ParseMode parseMode({{ ParseMode::PARSE_RANDOM_SLASH , InputError::IGNORE }});
|
||||
try {
|
||||
deck = parser->parseFile(deck_filename, parseMode);
|
||||
Opm::checkDeck(deck);
|
||||
|
Loading…
Reference in New Issue
Block a user