diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-08-11 15:24:06 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-08-11 15:24:06 -0700 |
commit | e3a8dfb02fff69dc455ba724b1f42a697ea4308c (patch) | |
tree | 529199a8825afcf888a138b2ddd56830cbb3cf76 | |
parent | 64e68cbe87d18f40978fba31797fc07c2fbb9a1f (diff) |
std::erfcf doesn't exist: use numext::erfc instead
-rw-r--r-- | unsupported/Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<double2>(const double2& a) template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 perfc<float4>(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 |