avoid dead stores

This commit is contained in:
Arne Morten Kvarving
2023-06-27 13:40:54 +02:00
parent a31f1cefd5
commit adfe80cba0
3 changed files with 5 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ assembleControlEqInj(const WellState& well_state,
std::vector<double> convert_coeff(well_.numPhases(), 1.0);
well_.rateConverter().calcInjCoeff(/*fipreg*/ 0, well_.pvtRegionIdx(), convert_coeff);
double coeff = 1.0;
double coeff;
switch (injectorType) {
case InjectorType::WATER: {