mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
#4032 Fix SFG-values in Well bore stability plots
This commit is contained in:
parent
653b0eb856
commit
78b31db3b8
@ -113,7 +113,7 @@ float RigGeoMechWellLogExtractor::calculatePorePressureInSegment(int64_t interse
|
||||
double porePressure = hydroStaticPorePressureBar;
|
||||
|
||||
// 1: Try pore pressure from the grid
|
||||
if (porePressure == hydroStaticPorePressureBar && averageSegmentPorePressureBar > 0.0)
|
||||
if (porePressure == hydroStaticPorePressureBar && averageSegmentPorePressureBar != std::numeric_limits<double>::infinity() && averageSegmentPorePressureBar > 0.0)
|
||||
{
|
||||
porePressure = averageSegmentPorePressureBar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user