From 6c43c49e4aaf833e97a3c759b79d952bfd0a4d9c Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 15 Apr 2016 15:34:34 -0700 Subject: Fixed a few compilation warnings --- unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h | 1 - 1 file changed, 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h index 0b769f278..bafcc67bd 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h @@ -448,7 +448,6 @@ struct TensorEvaluator, Device> protected: EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packetWithPossibleZero(Index index) const { - const int PacketSize = internal::unpacket_traits::size; EIGEN_ALIGN_MAX typename internal::remove_const::type values[PacketSize]; for (int i = 0; i < PacketSize; ++i) { values[i] = coeff(index+i); -- cgit v1.2.3