Merge pull request #3794 from joakim-hove/pyaction-pass-state

Pass ActionState to Schedule::runPyAction()
This commit is contained in:
Bård Skaflestad 2022-01-28 12:29:58 +01:00 committed by GitHub
commit b263db1c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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