mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-30 17:40:08 -05:00
Merge pull request #6433 from akva2/janitoring_lto
initialize variables
This commit is contained in:
1 file changed
+1
-1
@@ -903,7 +903,7 @@ getRateWithGroupLimit_(Rate rate_type,
|
||||
// if delta_rate > 0
|
||||
const auto& pairs = this->group_info_.getWellGroups(this->well_name_);
|
||||
Scalar limited_rate = new_rate;
|
||||
Scalar gr_target, new_gr_rate, efficiency;
|
||||
Scalar gr_target{}, new_gr_rate{}, efficiency{};
|
||||
const std::string* group_name = nullptr;
|
||||
for (const auto& [group_name_temp, efficiency_temp] : pairs) {
|
||||
// in stage 2 we don't want to limit the rate to the group
|
||||
|
||||
Reference in new issue
Block a user