Skip to content
Snippets Groups Projects
Commit eb0e5be2 authored by Tobias Meisel's avatar Tobias Meisel Committed by Dmitri Naumov
Browse files

[CI] XDMFDIFF now raises error only if difference is greater epsilon

parent 18c66397
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ bool compareValues(std::vector<double> const& points_a, ...@@ -232,7 +232,7 @@ bool compareValues(std::vector<double> const& points_a,
for (std::size_t i = 0; i < points_a.size(); ++i) for (std::size_t i = 0; i < points_a.size(); ++i)
{ {
if (double const distance = std::abs(points_a[i] - points_b[i]); if (double const distance = std::abs(points_a[i] - points_b[i]);
distance >= eps) distance > eps)
{ {
std::cerr << "Point on position " << i << "\n" std::cerr << "Point on position " << i << "\n"
<< "in first mesh has value: " << points_a[i] << "\n" << "in first mesh has value: " << points_a[i] << "\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment