Fix size of perf radius and length vectors.

This commit is contained in:
Tor Harald Sandve 2017-11-13 12:16:39 +01:00
parent 7fbf4cf3af
commit 614f75d9b9

View File

@ -787,9 +787,9 @@ namespace Opm
perf_length_.clear();
bore_diameters_.clear();
perf_rep_radius_.resize(nperf);
perf_length_.resize(nperf);
bore_diameters_.resize(nperf);
perf_rep_radius_.reserve(nperf);
perf_length_.reserve(nperf);
bore_diameters_.reserve(nperf);
// COMPDAT handling
const auto& completionSet = well_ecl_->getCompletions(current_step_);