mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-24 08:06:25 -06:00
Merge pull request #177 from osae/non-strict
Make non-strict parsing the default.
This commit is contained in:
commit
3512a7b2f0
@ -102,7 +102,8 @@ try
|
||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||
|
||||
Opm::ParserPtr newParser(new Opm::Parser() );
|
||||
Opm::DeckConstPtr deck = newParser->parseFile( deck_filename );
|
||||
bool strict_parsing = param.getDefault("strict_parsing", true);
|
||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename, strict_parsing);
|
||||
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
||||
|
||||
// Grid init
|
||||
|
Loading…
Reference in New Issue
Block a user