From fd7db52f9b3b1227719c6d8281ff5e5198aaae82 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Wed, 15 Mar 2017 20:02:39 -0700 Subject: Silenced compilation warning --- unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | 1 + 1 file changed, 1 insertion(+) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h index f335edf7d..c46a778b5 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h @@ -50,6 +50,7 @@ template struct DimensionId { EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DimensionId(DenseIndex dim) { + EIGEN_UNUSED_VARIABLE(dim); eigen_assert(dim == DimId); } EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DenseIndex actualDim() const { -- cgit v1.2.3