mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Fix function argument
This commit is contained in:
1 parent
b832b00ca3
commit
83f32729fc
1 file changed
+1
-1
@@ -1678,7 +1678,7 @@ namespace Opm {
|
||||
|
||||
if (!well->isOperable() ) continue;
|
||||
|
||||
auto& events = this->wellState().events(w);
|
||||
auto& events = this->wellState().events(well->indexOfWell());
|
||||
if (events.hasEvent(WellStateFullyImplicitBlackoil::event_mask)) {
|
||||
well->updateWellStateWithTarget(ebosSimulator_, this->wellState(), deferred_logger);
|
||||
// There is no new well control change input within a report step,
|
||||
|
||||
Reference in new issue
Block a user