mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3794 from joakim-hove/pyaction-pass-state
Pass ActionState to Schedule::runPyAction()
This commit is contained in:
commit
b263db1c84
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user