We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3766286 + 1a2c337 commit d791b71Copy full SHA for d791b71
opm/simulators/wells/GlobalWellInfo.cpp
@@ -39,7 +39,7 @@ GlobalWellInfo(const Schedule& sched,
39
this->m_in_injecting_group.resize(num_wells);
40
this->m_in_producing_group.resize(num_wells);
41
this->m_is_open.resize(num_wells);
42
- this->m_efficiency_scaling_factors.resize(num_wells);
+ this->m_efficiency_scaling_factors.resize(num_wells, static_cast<Scalar>(1.0));
43
for (const auto& wname : sched.wellNames(report_step)) {
44
const auto& well = sched.getWell(wname, report_step);
45
auto global_well_index = well.seqIndex();
0 commit comments