From 47fe10e8fbeb43711683bf74e5b07fd794a934a8 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 9 Dec 2014 14:20:26 +0100 Subject: [PATCH] adapt to the removal of the "strict parsing" concept --- examples/sim_poly_fi2p_comp_ad.cpp | 3 +-- examples/sim_poly_fibo_ad.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/sim_poly_fi2p_comp_ad.cpp b/examples/sim_poly_fi2p_comp_ad.cpp index 53220be7f..914c2ff88 100644 --- a/examples/sim_poly_fi2p_comp_ad.cpp +++ b/examples/sim_poly_fi2p_comp_ad.cpp @@ -113,8 +113,7 @@ try std::string deck_filename = param.get("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(new EclipseState(deck)); // Grid init std::vector porv; diff --git a/examples/sim_poly_fibo_ad.cpp b/examples/sim_poly_fibo_ad.cpp index 3f1536a16..c85e0521c 100644 --- a/examples/sim_poly_fibo_ad.cpp +++ b/examples/sim_poly_fibo_ad.cpp @@ -108,8 +108,7 @@ try std::string deck_filename = param.get("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(new EclipseState(deck)); // Grid init