diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h index 3558d4785..bdcd70fd9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h @@ -73,21 +73,21 @@ struct TensorUInt128 template -static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool operator == (const TensorUInt128& lhs, const TensorUInt128& rhs) { return (lhs.high == rhs.high) & (lhs.low == rhs.low); } template -static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool operator != (const TensorUInt128& lhs, const TensorUInt128& rhs) { return (lhs.high != rhs.high) | (lhs.low != rhs.low); } template -static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool operator >= (const TensorUInt128& lhs, const TensorUInt128& rhs) { if (lhs.high != rhs.high) { @@ -97,7 +97,7 @@ bool operator >= (const TensorUInt128& lhs, const TensorUInt128& } template -static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool operator < (const TensorUInt128& lhs, const TensorUInt128& rhs) { if (lhs.high != rhs.high) { @@ -107,7 +107,7 @@ bool operator < (const TensorUInt128& lhs, const TensorUInt128& } template -static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE TensorUInt128 operator + (const TensorUInt128& lhs, const TensorUInt128& rhs) { TensorUInt128 result(lhs.high + rhs.high, lhs.low + rhs.low); @@ -118,7 +118,7 @@ TensorUInt128 operator + (const TensorUInt128& lhs, } template -static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE TensorUInt128 operator - (const TensorUInt128& lhs, const TensorUInt128& rhs) { TensorUInt128 result(lhs.high - rhs.high, lhs.low - rhs.low);