From f7d0053cf04bcafe2f784aa4ae0cbf3342e2d500 Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Fri, 14 Sep 2018 19:19:13 -0700 Subject: Fix DSizes IndexList constructor --- unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index fe0d57f31..94871ef43 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -291,8 +291,8 @@ struct DSizes : array { } #ifdef EIGEN_HAS_INDEX_LIST - EIGEN_DEVICE_FUNC template + EIGEN_DEVICE_FUNC DSizes(const Eigen::IndexList& dimensions) { for (int i = 0; i < dimensions.count; ++i) { (*this)[i] = dimensions[i]; -- cgit v1.2.3