From ae73859a0aabb389be20df4106fd541c7942bcde Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Sat, 28 Feb 2015 08:02:02 -0800 Subject: [PATCH] Fixed incorrect assertion --- unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h index b85f45d90..1974252cf 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h @@ -73,7 +73,7 @@ struct TensorIntDivisor { EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T divide(const T numerator) const { const int N = 32; eigen_assert(numerator >= 0); - eigen_assert(numerator <= static_cast(1ull<(numerator) <= (1ull<> 32; uint32_t t = (static_cast(numerator) - t1) >> shift1;