From c1a1bf86837ce1270bfe4fd61c8b02d3e5ae99ae Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Tue, 12 Jan 2021 14:08:41 +0100 Subject: [PATCH] Use ScheduleState to manage well test configuration --- opm/simulators/wells/BlackoilWellModel_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index 48466aa82..98a4cd8ef 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -426,7 +426,7 @@ namespace Opm { template void BlackoilWellModel::wellTesting(const int timeStepIdx, const double simulationTime, Opm::DeferredLogger& deferred_logger) { - const auto& wtest_config = schedule().wtestConfig(timeStepIdx); + const auto& wtest_config = schedule()[timeStepIdx].wtest_config(); if (wtest_config.size() != 0) { // there is a WTEST request // average B factors are required for the convergence checking of well equations