diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2017-03-15 20:02:39 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2017-03-15 20:02:39 -0700 |
commit | fd7db52f9b3b1227719c6d8281ff5e5198aaae82 (patch) | |
tree | 737ec3626c639e86b4224c8b75b6f76c4dd53248 /unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | |
parent | 7f31bb6822f4baffaca402cf03f37499c7098a2b (diff) |
Silenced compilation warning
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <DenseIndex DimId> 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 { |