Commit 83c40ffa authored by Simone Pagan Griso's avatar Simone Pagan Griso
Browse files

moved to std::abs

parent df748f60
......@@ -18,7 +18,7 @@ class tolerance {
_eps(eps) {
}
bool operator()(double a, double b) {
return (fabs(b - a) <= _eps);
return (std::abs(b - a) <= _eps);
}
private:
double _eps;
......
Supports Markdown
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