diff --git a/ebos/eclgenericvanguard.cc b/ebos/eclgenericvanguard.cc index 40a4c0b0b..78cbbf3b6 100644 --- a/ebos/eclgenericvanguard.cc +++ b/ebos/eclgenericvanguard.cc @@ -99,11 +99,11 @@ void EclGenericVanguard::readDeck(const std::string& filename) std::shared_ptr summaryConfig; auto parseContext = - std::make_unique(std::vector> - {{ParseContext::PARSE_RANDOM_SLASH, InputError::IGNORE}, - {ParseContext::PARSE_MISSING_DIMS_KEYWORD, InputError::WARN}, - {ParseContext::SUMMARY_UNKNOWN_WELL, InputError::WARN}, - {ParseContext::SUMMARY_UNKNOWN_GROUP, InputError::WARN}}); + std::make_unique(std::vector> + {{ParseContext::PARSE_RANDOM_SLASH, InputErrorAction::IGNORE}, + {ParseContext::PARSE_MISSING_DIMS_KEYWORD, InputErrorAction::WARN}, + {ParseContext::SUMMARY_UNKNOWN_WELL, InputErrorAction::WARN}, + {ParseContext::SUMMARY_UNKNOWN_GROUP, InputErrorAction::WARN}}); Opm::readDeck(EclGenericVanguard::comm(), filename, eclipseState, schedule, udqState, diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index 265098ff0..10c585b50 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -504,13 +504,13 @@ private: EWOMS_GET_PARAM(PreTypeTag, std::string, OutputMode), outputCout_, "STDOUT_LOGGER", allRanksDbgPrtLog); auto parseContext = - std::make_unique(std::vector> - {{ParseContext::PARSE_RANDOM_SLASH, InputError::IGNORE}, - {ParseContext::PARSE_MISSING_DIMS_KEYWORD, InputError::WARN}, - {ParseContext::SUMMARY_UNKNOWN_WELL, InputError::WARN}, - {ParseContext::SUMMARY_UNKNOWN_GROUP, InputError::WARN}}); + std::make_unique(std::vector> + {{ParseContext::PARSE_RANDOM_SLASH, InputErrorAction::IGNORE}, + {ParseContext::PARSE_MISSING_DIMS_KEYWORD, InputErrorAction::WARN}, + {ParseContext::SUMMARY_UNKNOWN_WELL, InputErrorAction::WARN}, + {ParseContext::SUMMARY_UNKNOWN_GROUP, InputErrorAction::WARN}}); if (EWOMS_GET_PARAM(PreTypeTag, bool, EclStrictParsing)) - parseContext->update(InputError::DELAYED_EXIT1); + parseContext->update(InputErrorAction::DELAYED_EXIT1); FlowMainEbos::printPRTHeader(outputCout_); diff --git a/tests/test_norne_pvt.cpp b/tests/test_norne_pvt.cpp index f446d1104..cd47573b4 100644 --- a/tests/test_norne_pvt.cpp +++ b/tests/test_norne_pvt.cpp @@ -280,7 +280,7 @@ void verify_norne_oil_pvt_region2(const Opm::EclipseState& eclState, const Opm:: } BOOST_AUTO_TEST_CASE( Test_Norne_PVT) { - Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE }}); + Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputErrorAction::IGNORE }}); Opm::ErrorGuard errorGuard; Opm::Parser parser; auto python = std::make_shared();