diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-08-19 21:38:18 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-08-19 21:38:18 +0200 |
commit | 1bdd06a199da2459180e9e6f77f5c12e5624cf6e (patch) | |
tree | fd11934020ba421a1d9dbfae5c07ef61adfabfde /unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h | |
parent | 0721690dbb08e78be379cec785b070591aa2b072 (diff) |
Fix some trivial warnings
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename UnsignedTraits<T>::type>(numerator) < NumTraits<UnsignedType>::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<UnsignedType>(numerator) - t1) >> shift1; |