ECL threshold pressure: fix stupid copy and pasto

(in the code which calculates the default threshold pressure.)
This commit is contained in:
Andreas Lauser
2016-09-26 16:29:52 +02:00
parent 14418092e1
commit 97eda5bb55

View File

@@ -203,8 +203,9 @@ private:
int offset1 = equilRegionInside*numEquilRegions_ + equilRegionOutside;
int offset2 = equilRegionOutside*numEquilRegions_ + equilRegionInside;
thpresDefault_[offset1] = std::max(thpres_[offset1], pth);
thpresDefault_[offset2] = std::max(thpres_[offset2], pth);
thpresDefault_[offset1] = std::max(thpresDefault_[offset1], pth);
thpresDefault_[offset2] = std::max(thpresDefault_[offset2], pth);
}
}