From 5b129a3304cb5dccc64336c77b0fda9f196cd964 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Wed, 13 Jan 2021 00:58:03 +0100 Subject: [PATCH] Use ScheduleState to manage network properties --- 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 0251421ca..5208c6328 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -1358,7 +1358,7 @@ namespace Opm { { // Get the network and return if inactive. const int reportStepIdx = ebosSimulator_.episodeIndex(); - const auto& network = schedule().network(reportStepIdx); + const auto& network = schedule()[reportStepIdx].network(); if (!network.active()) { return; }