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

fix tidy

parent 7a167f25
......@@ -234,13 +234,8 @@ 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));
});
if(idx < range_distance(r1))
{
return false;
return idx < range_distance(r1);
}
return true;
}
else
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