diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-10-15 01:20:08 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-10-15 01:20:08 +0000 |
commit | 6ea809170561e2bff1bab3344200bf48e421494e (patch) | |
tree | f879f39a0b48eb14e9c67362f0b078a39f50ebc6 /Eigen | |
parent | 4700713faf92a7b72a926ee1ac75f75d59e58887 (diff) |
Revert change from 4e4d3f32d168ed9ce09d950f099a60ddcd11240f that broke BFloat16.h build with older compilers.
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/arch/Default/BFloat16.h | 9 |
1 files 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) { |