Pass matching wells to Schedule::applyAction()

This commit is contained in:
Joakim Hove committed 2022-01-20 08:22:59 +01:00
1 parent 8308152e88
commit 1642f34f04
1 file changed
+1 -1
+1 -1
View File
@@ -1315,7 +1315,7 @@ public:
const auto& wellpi = this->fetchWellPI(reportStep, *action, schedule, matching_wells);
auto sim_update = schedule.applyAction(reportStep, *action, actionResult, wellpi);
auto sim_update = schedule.applyAction(reportStep, *action, actionResult.wells(), wellpi);
this->wellModel_.updateEclWells(reportStep, sim_update.affected_wells, summaryState);
if (!sim_update.affected_wells.empty())
commit_wellstate = true;