Use ScheduleState to manage Actionx

This commit is contained in:
Joakim Hove
2021-01-15 07:57:27 +01:00
parent 553c16774c
commit d025f39474

View File

@@ -1291,7 +1291,7 @@ public:
Opm::Schedule& schedule, Opm::Schedule& schedule,
Opm::Action::State& actionState, Opm::Action::State& actionState,
Opm::SummaryState& summaryState) { Opm::SummaryState& summaryState) {
const auto& actions = schedule.actions(reportStep); const auto& actions = schedule[reportStep].actions();
if (actions.empty()) if (actions.empty())
return; return;