diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 2d8c7b903..3c555244a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -379,10 +379,10 @@ template struct array_size struct array_size > { - static const size_t value = std::tuple_size >::value; + static const size_t value = 1 + sizeof...(OtherTypes); }; template struct array_size > { - static const size_t value = std::tuple_size >::value; + static const size_t value = 1 + sizeof...(OtherTypes); }; template EIGEN_DEVICE_FUNC constexpr Index array_get(IndexList& a) {