From f0d0f817d67c0d3bfda22828e56d24dada78aff5 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 5 Dec 2006 12:17:50 +0000 Subject: [PATCH] To compile under GCC 3.4.1 --- src/PIPELINE/VISU_PipeLineUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIPELINE/VISU_PipeLineUtils.cxx b/src/PIPELINE/VISU_PipeLineUtils.cxx index 0729cb59..22a35362 100644 --- a/src/PIPELINE/VISU_PipeLineUtils.cxx +++ b/src/PIPELINE/VISU_PipeLineUtils.cxx @@ -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; } -- 2.39.2