diff --git a/Tests/xdmfdiff/xdmfdiff.cpp b/Tests/xdmfdiff/xdmfdiff.cpp
index 01985a066fc787868a371ac587b99e1aecb229c6..b3e93b9758ef5997bbb622efe0793308457d79f4 100644
--- a/Tests/xdmfdiff/xdmfdiff.cpp
+++ b/Tests/xdmfdiff/xdmfdiff.cpp
@@ -232,7 +232,7 @@ bool compareValues(std::vector<double> const& points_a,
     for (std::size_t i = 0; i < points_a.size(); ++i)
     {
         if (double const distance = std::abs(points_a[i] - points_b[i]);
-            distance >= eps)
+            distance > eps)
         {
             std::cerr << "Point on position " << i << "\n"
                       << "in first mesh has value: " << points_a[i] << "\n"