From eb0e5be2eef7e3be35c261d5b4769a318dd2625f Mon Sep 17 00:00:00 2001 From: Tobias Meisel <tobias.meisel@ufz.de> Date: Mon, 30 May 2022 13:15:36 +0200 Subject: [PATCH] [CI] XDMFDIFF now raises error only if difference is greater epsilon --- Tests/xdmfdiff/xdmfdiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/xdmfdiff/xdmfdiff.cpp b/Tests/xdmfdiff/xdmfdiff.cpp index 01985a066fc..b3e93b9758e 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" -- GitLab