mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix function argument
This commit is contained in:
parent
b832b00ca3
commit
83f32729fc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user