Pass ActionState to Schedule::runPyAction()

This commit is contained in:
Joakim Hove
2022-01-27 22:46:36 +01:00
parent 1322722c9d
commit 95cd9eaa24
+2 -2
View File
@@ -1319,8 +1319,8 @@ public:
}
bool commit_wellstate = false;
for (const auto& pyaction : actions.pending_python()) {
auto sim_update = schedule.runPyAction(reportStep, *pyaction, ecl_state, summaryState);
for (const auto& pyaction : actions.pending_python(actionState)) {
auto sim_update = schedule.runPyAction(reportStep, *pyaction, actionState, ecl_state, summaryState);
this->applySimulatorUpdate(reportStep, comm, sim_update, ecl_state, schedule, summaryState, commit_wellstate);
}