mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Dont update group rates 2 times
This commit is contained in:
parent
577229d38d
commit
113f8dfb4c
@ -1093,8 +1093,6 @@ maybeAdjustALQbeforeOptimizeLoop_(const LimitedRates& orig_rates,
|
||||
const std::string msg = fmt::format("adjusted ALQ to: {}", alq);
|
||||
displayDebugMessage_(msg);
|
||||
}
|
||||
Scalar delta_alq = alq - orig_alq;
|
||||
updateGroupRates_(orig_rates, rates, delta_alq);
|
||||
}
|
||||
return {rates, alq};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user