mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Linux build by replacing a HUGE_VAL with std::numeric_limits::infinity
* This build problem was introduced when fixing a crash issue that came from replacing HUGE_VAL with std::numeric_limits::max
This commit is contained in:
@@ -130,11 +130,11 @@ void Riv3dWellLogCurveGeometryGenerator::createCurveDrawables(const caf::Display
|
||||
|
||||
if ((rim3dWellLogCurve->minCurveUIValue() - result) > curveEpsilon * curveUIRange)
|
||||
{
|
||||
result = -HUGE_VAL;
|
||||
result = -std::numeric_limits<double>::infinity();
|
||||
}
|
||||
else if ((result - rim3dWellLogCurve->maxCurveUIValue()) > curveEpsilon * curveUIRange)
|
||||
{
|
||||
result = HUGE_VAL;
|
||||
result = std::numeric_limits<double>::infinity();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user