mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-16 18:34:54 -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;
|
double porePressure = hydroStaticPorePressureBar;
|
||||||
|
|
||||||
// 1: Try pore pressure from the grid
|
// 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;
|
porePressure = averageSegmentPorePressureBar;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user