Merge pull request #3018 from joakim-hove/sched-network

Use ScheduleState to manage network properties
This commit is contained in:
Joakim Hove
2021-01-13 08:04:35 +01:00
committed by GitHub

View File

@@ -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;
}