From 1d3c8306f87b284c26180be6eac13dc8d4aa1b52 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 13 Nov 2014 19:13:17 -0800 Subject: Fixed compilation errors with clang. H: Enter commit message. Lines beginning with 'HG:' are removed. --- unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 010221e74..eaf0195ce 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -110,7 +110,7 @@ struct tuple_coeff<0> { update_value(std::get<0>(t), value); } template - static constexpr bool value_known_statically(const DenseIndex i, const std::tuple& t) { + static constexpr bool value_known_statically(const DenseIndex i, const std::tuple&) { // eigen_assert (i == 0); // gcc fails to compile assertions in constexpr return is_compile_time_constant >::type>::value & (i == 0); } @@ -190,7 +190,7 @@ template struct index_statically_eq > { constexpr bool operator() (const DenseIndex i, const DenseIndex value) const { return IndexList().value_known_statically(i) & - IndexList()[i] == value; + (IndexList()[i] == value); } }; @@ -198,7 +198,7 @@ template struct index_statically_eq > { constexpr bool operator() (const DenseIndex i, const DenseIndex value) const { return IndexList().value_known_statically(i) & - IndexList()[i] == value; + (IndexList()[i] == value); } }; @@ -213,7 +213,7 @@ template struct index_statically_ne > { constexpr bool operator() (const DenseIndex i, const DenseIndex value) const { return IndexList().value_known_statically(i) & - IndexList()[i] != value; + (IndexList()[i] != value); } }; @@ -221,7 +221,7 @@ template struct index_statically_ne > { constexpr bool operator() (const DenseIndex i, const DenseIndex value) const { return IndexList().value_known_statically(i) & - IndexList()[i] != value; + (IndexList()[i] != value); } }; -- cgit v1.2.3