Skip to content

Commit d791b71

Browse files
authored
Merge pull request #6608 from GitPaean/efficency_factor
m_efficiency_scaling_factors default to be 1. instead of 0.
2 parents 3766286 + 1a2c337 commit d791b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opm/simulators/wells/GlobalWellInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ GlobalWellInfo(const Schedule& sched,
3939
this->m_in_injecting_group.resize(num_wells);
4040
this->m_in_producing_group.resize(num_wells);
4141
this->m_is_open.resize(num_wells);
42-
this->m_efficiency_scaling_factors.resize(num_wells);
42+
this->m_efficiency_scaling_factors.resize(num_wells, static_cast<Scalar>(1.0));
4343
for (const auto& wname : sched.wellNames(report_step)) {
4444
const auto& well = sched.getWell(wname, report_step);
4545
auto global_well_index = well.seqIndex();

0 commit comments

Comments
 (0)