From 35722fa0222a7f99a8179d75244177a9801ea36b Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Mon, 30 Mar 2015 14:55:54 -0700 Subject: Made the index type a template parameter of the tensor class instead of encoding it in the options. --- unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h index 94b3f957b..76998b690 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h @@ -23,12 +23,12 @@ namespace Eigen { * Eigen::TensorFixedSize> t; */ -template -class TensorFixedSize : public TensorBase > +template +class TensorFixedSize : public TensorBase > { public: - typedef TensorFixedSize Self; - typedef TensorBase > Base; + typedef TensorFixedSize Self; + typedef TensorBase > Base; typedef typename Eigen::internal::nested::type Nested; typedef typename internal::traits::StorageKind StorageKind; typedef typename internal::traits::Index Index; @@ -50,7 +50,7 @@ class TensorFixedSize : public TensorBase m_storage; + TensorStorage m_storage; public: EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank() const { return NumIndices; } -- cgit v1.2.3