From 4091f6b25c5ad0ca3f7c00bd82bfd7ca1bbedee3 Mon Sep 17 00:00:00 2001 From: David Tellenbach Date: Fri, 9 Oct 2020 02:05:05 +0200 Subject: Drop EIGEN_USING_STD_MATH in favour of EIGEN_USING_STD --- Eigen/src/Core/MathFunctionsImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Eigen/src/Core/MathFunctionsImpl.h') 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 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(abs(x), abs(y)); } }; -- cgit v1.2.3