[math] In detail::scaled_epsilon call detail::abs instead of math::abs.

This commit is contained in:
Adam Wulkiewicz
2015-08-22 17:36:54 +02:00
parent 4a15918915
commit 0addcbb330

View File

@@ -442,7 +442,7 @@ struct scaled_epsilon
{
static inline T apply(T const& val)
{
return (std::max)(math::abs(val), T(1))
return (std::max)(abs<T>::apply(val), T(1))
* std::numeric_limits<T>::epsilon();
}
};