drop using statement for ref_depth_

rather qualify member variable with this->
This commit is contained in:
Arne Morten Kvarving
2021-09-06 12:58:16 +02:00
parent 0f6e07676e
commit aa389ff4f8
2 changed files with 1 additions and 2 deletions

View File

@@ -908,7 +908,7 @@ namespace Opm
const int nseg = this->numberOfSegments();
double seg_bhp_press_diff = 0;
double ref_depth = ref_depth_;
double ref_depth = this->ref_depth_;
for (int seg = 0; seg < nseg; ++seg) {
// calculating the perforation rate for each perforation that belongs to this segment
const double segment_depth = this->segmentSet()[seg].depth();