Make non-strict parsing the default.

This commit is contained in:
osae 2014-08-07 16:39:41 +02:00
parent d6e29be24c
commit a8d99d0443

View File

@ -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", false);
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename, strict_parsing);
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
// Grid init