From: apo Date: Tue, 5 Dec 2006 08:46:00 +0000 (+0000) Subject: Minor changes X-Git-Tag: WP1_2_3_05-12-2006_cache_system~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1ec26d91a8382107b81a7a272604e83a99186ab6;p=modules%2Fvisu.git Minor changes --- diff --git a/src/PIPELINE/VISU_PipeLineUtils.cxx b/src/PIPELINE/VISU_PipeLineUtils.cxx index 3e67f0d5..0729cb59 100644 --- a/src/PIPELINE/VISU_PipeLineUtils.cxx +++ b/src/PIPELINE/VISU_PipeLineUtils.cxx @@ -54,7 +54,9 @@ namespace VISU vtkFloatingPointType* theSource) { static vtkFloatingPointType TOL = 10.0 / VTK_LARGE_FLOAT; - return std::abs(theTarget[0] - theSource[0]) + std::abs(theTarget[1] - theSource[1]) < TOL; + if(std::abs(theTarget[0] - theSource[0]) + std::abs(theTarget[1] - theSource[1]) < TOL) + return true; + return false; } void