Commit 9c2bd91d authored by charlie's avatar charlie
Browse files

clean up

parent ac3ecd10
......@@ -579,8 +579,8 @@ struct verify : command<verify>
{
tols = migraphx::verify::tolerance{8e-2, 4e-2, 4e-2};
}
auto dbl_comp = [&](auto a, auto b){
return std::abs(a - b) <= std::numeric_limits<double>::epsilon();
auto dbl_comp = [&](double a, double b){
return (std::abs(a - b) <= std::numeric_limits<double>::epsilon());
};
if(not dbl_comp(this->rms_tol, -1.))
{
......
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