From 05b05180771584009d4499a81f5e1527391ea7dd Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 2 Sep 2016 15:29:34 -0700 Subject: Made the index type an explicit template parameter to help some compilers compile the code. --- unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h index 5f44dc863..61c111cec 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h @@ -243,13 +243,13 @@ struct TensorEvaluator, Device> EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const { - return m_wrapper(m_functor,index); + return m_wrapper(m_functor, index); } template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const { - return m_wrapper.template packetOp(m_functor,index); + return m_wrapper.template packetOp(m_functor, index); } EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost -- cgit v1.2.3