mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Also pass the parseContext and errorGuard to Opm::checkDeck()
This is now mandated since the checkDeck interface was changed recently. Otherwise compilation errors out.
This commit is contained in:
parent
81b7af1d8a
commit
9f49e3fc26
@ -188,7 +188,7 @@ int mainFlow(int argc, char** argv)
|
|||||||
|
|
||||||
std::shared_ptr<Opm::Deck> deck = std::make_shared< Opm::Deck >( parser.parseFile(deckFilename , parseContext, errorGuard) );
|
std::shared_ptr<Opm::Deck> deck = std::make_shared< Opm::Deck >( parser.parseFile(deckFilename , parseContext, errorGuard) );
|
||||||
if ( outputCout ) {
|
if ( outputCout ) {
|
||||||
Opm::checkDeck(*deck, parser);
|
Opm::checkDeck(*deck, parser, parseContext, errorGuard);
|
||||||
Opm::MissingFeatures::checkKeywords(*deck);
|
Opm::MissingFeatures::checkKeywords(*deck);
|
||||||
}
|
}
|
||||||
//Opm::Runspec runspec( *deck );
|
//Opm::Runspec runspec( *deck );
|
||||||
|
Loading…
Reference in New Issue
Block a user