From 7d41e97fa964534e2bed3cd4f9003c261f88484f Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Mon, 29 Jun 2015 14:47:40 -0700 Subject: Silenced a number of compilation warnings --- .../Eigen/CXX11/src/Tensor/TensorDimensionList.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h index 19e922f92..61750847e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h @@ -35,10 +35,10 @@ template struct array_size const Index array_get(DimensionList& a) { +template const Index array_get(DimensionList&) { return n; } -template const Index array_get(const DimensionList& a) { +template const Index array_get(const DimensionList&a) { return n; } @@ -177,52 +177,52 @@ struct indices_statically_known_to_increase > { template struct index_statically_eq > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_eq > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_ne > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_ne > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_gt > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_gt > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_lt > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; template struct index_statically_lt > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex i, const DenseIndex value) const { + EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex, const DenseIndex) const { return false; } }; -- cgit v1.2.3