Merge pull request #177 from osae/non-strict

Make non-strict parsing the default.
This commit is contained in:
Atgeirr Flø Rasmussen 2014-08-08 09:47:43 +02:00
commit 3512a7b2f0

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