From 6c10495a78ec400d258e2c7e6b534973468a64c7 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Wed, 8 Sep 2021 11:31:56 -0700 Subject: [PATCH] Remove unnecessary std::tuple reference. --- unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {