mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
3D Well Log Curves: Fix crash bug due to wrong value used to force invalid values.
This commit is contained in:
parent
b6979f32c6
commit
9125619c41
@ -130,11 +130,11 @@ void Riv3dWellLogCurveGeometryGenerator::createCurveDrawables(const caf::Display
|
||||
|
||||
if ((rim3dWellLogCurve->minCurveUIValue() - result) > curveEpsilon * curveUIRange)
|
||||
{
|
||||
result = -std::numeric_limits<float>::max();
|
||||
result = -HUGE_VAL;
|
||||
}
|
||||
else if ((result - rim3dWellLogCurve->maxCurveUIValue()) > curveEpsilon * curveUIRange)
|
||||
{
|
||||
result = std::numeric_limits<float>::max();
|
||||
result = HUGE_VAL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user