From 15a4429228937f77f30ef6f1f8d600f449b84106 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 2 Dec 2005 15:35:17 +0000 Subject: [PATCH] To port on Mandrake --- src/PIPELINE/VISU_DeformedShapePL.cxx | 2 +- src/PIPELINE/VISU_GaussPointsPL.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIPELINE/VISU_DeformedShapePL.cxx b/src/PIPELINE/VISU_DeformedShapePL.cxx index 5fc8b970..0b8e3462 100644 --- a/src/PIPELINE/VISU_DeformedShapePL.cxx +++ b/src/PIPELINE/VISU_DeformedShapePL.cxx @@ -91,7 +91,7 @@ void VISU_DeformedShapePL::Init(){ float aScaleFactor = VISU_DeformedShapePL::GetScaleFactor( aDataSet ); static double EPS = 1.0 / VTK_LARGE_FLOAT; - if(std::abs(aScalarRange[1]) > EPS) + if(fabs(aScalarRange[1]) > EPS) SetScale(aScaleFactor / aScalarRange[1]); else SetScale(0.0); diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index dfa140a9..143f3a6f 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -186,7 +186,7 @@ VISU_GaussPointsPL float aScaleFactor = VISU_DeformedShapePL::GetScaleFactor( aDataSet ); static double EPS = 1.0 / VTK_LARGE_FLOAT; - if(std::abs(aScalarRange[1]) > EPS) + if(fabs(aScalarRange[1]) > EPS) SetScale( aScaleFactor / aScalarRange[1] ); else SetScale(0.0); -- 2.39.2