From 1ec26d91a8382107b81a7a272604e83a99186ab6 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 5 Dec 2006 08:46:00 +0000 Subject: [PATCH] Minor changes --- src/PIPELINE/VISU_PipeLineUtils.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2