diff options
author | David Tellenbach <david.tellenbach@me.com> | 2020-10-09 02:05:05 +0200 |
---|---|---|
committer | David Tellenbach <david.tellenbach@me.com> | 2020-10-09 02:05:05 +0200 |
commit | 4091f6b25c5ad0ca3f7c00bd82bfd7ca1bbedee3 (patch) | |
tree | c464c196d1f0f125532d2a162c99b80c00fb7255 /Eigen/src/Core/MathFunctionsImpl.h | |
parent | 183a208212353ccf81a664d25dc7660b6269acdd (diff) |
Drop EIGEN_USING_STD_MATH in favour of EIGEN_USING_STD
Diffstat (limited to 'Eigen/src/Core/MathFunctionsImpl.h')
-rw-r--r-- | Eigen/src/Core/MathFunctionsImpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/MathFunctionsImpl.h b/Eigen/src/Core/MathFunctionsImpl.h index 7af58fadb..8288ad834 100644 --- a/Eigen/src/Core/MathFunctionsImpl.h +++ b/Eigen/src/Core/MathFunctionsImpl.h @@ -79,7 +79,7 @@ template<typename RealScalar> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE RealScalar positive_real_hypot(const RealScalar& x, const RealScalar& y) { - EIGEN_USING_STD_MATH(sqrt); + EIGEN_USING_STD(sqrt); RealScalar p, qp; p = numext::maxi(x,y); if(p==RealScalar(0)) return RealScalar(0); @@ -94,7 +94,7 @@ struct hypot_impl static EIGEN_DEVICE_FUNC inline RealScalar run(const Scalar& x, const Scalar& y) { - EIGEN_USING_STD_MATH(abs); + EIGEN_USING_STD(abs); return positive_real_hypot<RealScalar>(abs(x), abs(y)); } }; |