diff options
author | 2016-03-14 09:25:16 -0700 | |
---|---|---|
committer | 2016-03-14 09:25:16 -0700 | |
commit | 5a51366ea536368079b906c298de9dac3cad33a6 (patch) | |
tree | 3b9e467e8708b908265ef9f92d11a08e11964ce0 /Eigen/src/Core/arch/CUDA/Half.h | |
parent | fcf59e1c37b48130eec5d3e26c847c7bb252542d (diff) |
Fixed a typo.
Diffstat (limited to 'Eigen/src/Core/arch/CUDA/Half.h')
-rw-r--r-- | Eigen/src/Core/arch/CUDA/Half.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/CUDA/Half.h b/Eigen/src/Core/arch/CUDA/Half.h index af5d872a5..953a3a77a 100644 --- a/Eigen/src/Core/arch/CUDA/Half.h +++ b/Eigen/src/Core/arch/CUDA/Half.h @@ -306,7 +306,7 @@ static inline EIGEN_DEVICE_FUNC bool (isinf)(const Eigen::half& a) { } static inline EIGEN_HALF_CUDA_H bool (isnan)(const Eigen::half& a) { #if defined(EIGEN_HAS_CUDA_FP16) && defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 530 - return __hisnan(x); + return __hisnan(a); #else return (a.x & 0x7fff) > 0x7c00; #endif |