From f37a5f1c539a7545579b06489c16df42005bd819 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 19 Nov 2015 14:34:26 -0800 Subject: [PATCH] Fixed compilation error triggered by nvcc --- unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h index 2b0808629..f5cca0ad7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h @@ -130,8 +130,8 @@ static TensorUInt128 operator * (const TensorUInt128 // de // The result is stored in 2 64bit integers, high and low. - static const uint64_t LOW = 0x00000000FFFFFFFFLL; - static const uint64_t HIGH = 0xFFFFFFFF00000000LL; + const uint64_t LOW = 0x00000000FFFFFFFFLL; + const uint64_t HIGH = 0xFFFFFFFF00000000LL; uint64_t d = lhs.low & LOW; uint64_t c = (lhs.low & HIGH) >> 32LL;