mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed missing celledge visualization: abs/fabs usage error. Not detected on Windows
This commit is contained in:
parent
01cfed9ab7
commit
68831f6e99
@ -180,7 +180,7 @@ void RivCellEdgeGeometryUtils::addCellEdgeResultsToDrawableGeo(
|
||||
|
||||
bool RivCellEdgeGeometryUtils::hideScalarValue(double scalarValue, double scalarValueToHide, double tolerance)
|
||||
{
|
||||
return (scalarValue == HUGE_VAL || abs(scalarValue - scalarValueToHide) <= scalarValueToHide*tolerance);
|
||||
return (scalarValue == HUGE_VAL || cvf::Math::abs(scalarValue - scalarValueToHide) <= scalarValueToHide*tolerance);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -1107,7 +1107,7 @@ double riMult(double transResults, double riTransResults)
|
||||
|
||||
if (riTransResults == 0.0)
|
||||
{
|
||||
if (abs (transResults) < 1e-12)
|
||||
if (cvf::Math::abs (transResults) < 1e-12)
|
||||
{
|
||||
return 1.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user