mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ECL threshold pressure: fix stupid copy and pasto
(in the code which calculates the default threshold pressure.)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user