mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-01 20:42:10 +00:00
[math] In detail::scaled_epsilon call detail::abs instead of math::abs.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user