]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To compile under GCC 3.4.1 WP1_2_3_05-12-2006_cache_system
authorapo <apo@opencascade.com>
Tue, 5 Dec 2006 12:17:50 +0000 (12:17 +0000)
committerapo <apo@opencascade.com>
Tue, 5 Dec 2006 12:17:50 +0000 (12:17 +0000)
src/PIPELINE/VISU_PipeLineUtils.cxx

index 0729cb591ac5d663ebf9a8736478db07b0d87d84..22a35362b3bccd056e228f6e56b26b6742d608bb 100644 (file)
@@ -54,7 +54,7 @@ namespace VISU
                   vtkFloatingPointType* theSource)
   {
     static vtkFloatingPointType TOL = 10.0 / VTK_LARGE_FLOAT;
-    if(std::abs(theTarget[0] - theSource[0]) + std::abs(theTarget[1] - theSource[1])  < TOL)
+    if(fabs(theTarget[0] - theSource[0]) + fabs(theTarget[1] - theSource[1])  < TOL)
       return true;
     return false;
 }