Fixed missing celledge visualization: abs/fabs usage error. Not detected on Windows

This commit is contained in:
magnesj
2014-08-31 14:37:25 +02:00
parent 01cfed9ab7
commit 68831f6e99
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}
//--------------------------------------------------------------------------------------------------