Use ScheduleState to manage Actionx

This commit is contained in:
Joakim Hove
2021-01-13 10:25:06 +01:00
parent ccb0ecbea3
commit c22b47f994
11 changed files with 49 additions and 43 deletions

View File

@@ -75,7 +75,7 @@ UDAValue msim::uda_val() {
void msim::post_step(Schedule& schedule, Action::State& action_state, SummaryState& st, data::Solution& /* sol */, data::Wells& /* well_data */, data::GroupAndNetworkValues& /* grp_nwrk_data */, size_t report_step) {
const auto& actions = schedule.actions(report_step);
const auto& actions = schedule[report_step].actions();
if (actions.empty())
return;