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

fix tidy

parent 7a167f25
...@@ -234,14 +234,9 @@ bool allclose(const R1& r1, const R2& r2, tolerance tols) ...@@ -234,14 +234,9 @@ bool allclose(const R1& r1, const R2& r2, tolerance tols)
auto idx = mismatch_idx(r1, r2, [&](auto x, auto y) { 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 abs_diff(double(x), double(y)) > tols.atol + tols.rtol * std::abs(double(y));
}); });
if(idx < range_distance(r1)) return idx < range_distance(r1);
{
return false;
}
return true;
} }
else return false;
return false;
} }
template <class R1, class R2> template <class R1, class R2>
......
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