From 1bdd06a199da2459180e9e6f77f5c12e5624cf6e Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Wed, 19 Aug 2015 21:38:18 +0200 Subject: Fix some trivial warnings --- unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h index d1569d436..fd2441894 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h @@ -149,7 +149,7 @@ struct TensorIntDivisor { // type numerator should also be less than 2^32-1. EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T divide(const T numerator) const { eigen_assert(static_cast::type>(numerator) < NumTraits::highest()/2); - eigen_assert(numerator >= 0); + //eigen_assert(numerator >= 0); // this is implicitly asserted by the line above UnsignedType t1 = muluh(multiplier, numerator); UnsignedType t = (static_cast(numerator) - t1) >> shift1; -- cgit v1.2.3