Use SingleWellState argument instead of full WellState

This commit is contained in:
Joakim Hove
2021-09-20 11:16:32 +02:00
parent 7b833b7706
commit 5531120411
8 changed files with 53 additions and 59 deletions

View File

@@ -588,7 +588,7 @@ namespace Opm
max_pressure_change);
this->updateWellStateFromPrimaryVariables(well_state, getRefDensity(), deferred_logger);
Base::calculateReservoirRates(well_state);
Base::calculateReservoirRates(well_state.well(this->index_of_well_));
}