From 490d26e4c14554716298c3bc4123571bbf92a1b2 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 4 Dec 2015 10:15:11 -0800 Subject: Use integers instead of std::size_t to encode the number of dimensions in the Tensor class since most of the code currently already use integers. --- unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h index 8f1c02ea4..7a9568b36 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h @@ -44,7 +44,7 @@ class compute_tensor_flags }; -template +template struct traits > { typedef Scalar_ Scalar; @@ -107,13 +107,13 @@ struct traits > }; -template +template struct eval, Eigen::Dense> { typedef const Tensor<_Scalar, NumIndices_, Options, IndexType_>& type; }; -template +template struct eval, Eigen::Dense> { typedef const Tensor<_Scalar, NumIndices_, Options, IndexType_>& type; @@ -161,13 +161,13 @@ template struct nested typedef typename ref_selector::type type; }; -template +template struct nested > { typedef const Tensor& type; }; -template +template struct nested > { typedef const Tensor& type; -- cgit v1.2.3