diff Framework/Toolbox/LinearAlgebra.h @ 647:6af3099ed8da

uncoupling OrthancStone::SlicesSorter from OrthancStone::Slice
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 13 May 2019 17:03:46 +0200
parents b70e9be013e4
children 32eaf4929b08
line wrap: on
line diff
--- a/Framework/Toolbox/LinearAlgebra.h	Mon May 13 15:22:08 2019 +0200
+++ b/Framework/Toolbox/LinearAlgebra.h	Mon May 13 17:03:46 2019 +0200
@@ -137,7 +137,7 @@
                        double y,
                        double threshold)
     {
-      return fabs(x - y) < threshold;
+      return fabs(x - y) <= threshold;
     }
 
     inline bool IsNear(double x,