From e3a8dfb02fff69dc455ba724b1f42a697ea4308c Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 11 Aug 2016 15:24:06 -0700 Subject: std::erfcf doesn't exist: use numext::erfc instead --- .../Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported') diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h index 0ef440495..ec4fa8448 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h @@ -90,8 +90,8 @@ double2 perf(const double2& a) template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 perfc(const float4& a) { - using std::erfcf; - return make_float4(erfcf(a.x), erfcf(a.y), erfcf(a.z), erfcf(a.w)); + using numext::erfc; + return make_float4(erfc(a.x), erfc(a.y), erfc(a.z), erfc(a.w)); } template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE -- cgit v1.2.3