Merge pull request #3231 from joakim-hove/fixup

Fix function argument
This commit is contained in:
Joakim Hove 2021-05-11 09:04:33 +02:00 committed by GitHub
commit ec2327d2c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,