From 6ea809170561e2bff1bab3344200bf48e421494e Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Thu, 15 Oct 2020 01:20:08 +0000 Subject: [PATCH] Revert change from 4e4d3f32d168ed9ce09d950f099a60ddcd11240f that broke BFloat16.h build with older compilers. --- Eigen/src/Core/arch/Default/BFloat16.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Eigen/src/Core/arch/Default/BFloat16.h b/Eigen/src/Core/arch/Default/BFloat16.h index 4d5fa1bf8..95a84e488 100644 --- a/Eigen/src/Core/arch/Default/BFloat16.h +++ b/Eigen/src/Core/arch/Default/BFloat16.h @@ -551,16 +551,13 @@ EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 tanh(const bfloat16& a) { } #if EIGEN_HAS_CXX11_MATH EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 asinh(const bfloat16& a) { - EIGEN_USING_STD(asinhf); - return bfloat16(asinhf(float(a))); + return bfloat16(::asinhf(float(a))); } EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 acosh(const bfloat16& a) { - EIGEN_USING_STD(acoshf); - return bfloat16(acoshf(float(a))); + return bfloat16(::acoshf(float(a))); } EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 atanh(const bfloat16& a) { - EIGEN_USING_STD(atanhf); - return bfloat16(atanhf(float(a))); + return bfloat16(::atanhf(float(a))); } #endif EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 floor(const bfloat16& a) {