mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
adapt to the removal of the "strict parsing" concept
This commit is contained in:
parent
c19348841d
commit
47fe10e8fb
@ -113,8 +113,7 @@ try
|
||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||
|
||||
Opm::ParserPtr newParser(new Opm::Parser());
|
||||
bool strict_parsing = param.getDefault("strict_parsing", true);
|
||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename, strict_parsing);
|
||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename);
|
||||
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
||||
// Grid init
|
||||
std::vector<double> porv;
|
||||
|
@ -108,8 +108,7 @@ try
|
||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||
|
||||
Opm::ParserPtr newParser(new Opm::Parser() );
|
||||
bool strict_parsing = param.getDefault("strict_parsing", true);
|
||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename, strict_parsing);
|
||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename);
|
||||
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
||||
|
||||
// Grid init
|
||||
|
Loading…
Reference in New Issue
Block a user