Commit c7d60560 authored by Umang Yadav's avatar Umang Yadav
Browse files

fix tidy

parent fd05f1be
......@@ -234,7 +234,7 @@ bool allclose(const R1& r1, const R2& r2, tolerance tols)
auto idx = mismatch_idx(r1, r2, [&](auto x, auto y) {
return abs_diff(double(x), double(y)) > tols.atol + tols.rtol * std::abs(double(y));
});
return idx < range_distance(r1);
return idx >= range_distance(r1);
}
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment