From cc641aabb710ab002b6c641bd5c3e1deed0e634d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 16 Feb 2015 14:46:51 +0100 Subject: Remove deprecated usage of expr::Index. --- Eigen/src/misc/Image.h | 2 -- Eigen/src/misc/Kernel.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'Eigen/src/misc') diff --git a/Eigen/src/misc/Image.h b/Eigen/src/misc/Image.h index 75c5f433a..b8b8a0455 100644 --- a/Eigen/src/misc/Image.h +++ b/Eigen/src/misc/Image.h @@ -38,7 +38,6 @@ template struct image_retval_base typedef _DecompositionType DecompositionType; typedef typename DecompositionType::MatrixType MatrixType; typedef ReturnByValue Base; - typedef typename Base::Index Index; image_retval_base(const DecompositionType& dec, const MatrixType& originalMatrix) : m_dec(dec), m_rank(dec.rank()), @@ -69,7 +68,6 @@ template struct image_retval_base typedef typename DecompositionType::MatrixType MatrixType; \ typedef typename MatrixType::Scalar Scalar; \ typedef typename MatrixType::RealScalar RealScalar; \ - typedef typename MatrixType::Index Index; \ typedef Eigen::internal::image_retval_base Base; \ using Base::dec; \ using Base::originalMatrix; \ diff --git a/Eigen/src/misc/Kernel.h b/Eigen/src/misc/Kernel.h index 4b03e44c1..bef5d6ff5 100644 --- a/Eigen/src/misc/Kernel.h +++ b/Eigen/src/misc/Kernel.h @@ -39,7 +39,6 @@ template struct kernel_retval_base { typedef _DecompositionType DecompositionType; typedef ReturnByValue Base; - typedef typename Base::Index Index; explicit kernel_retval_base(const DecompositionType& dec) : m_dec(dec), @@ -68,7 +67,6 @@ template struct kernel_retval_base typedef typename DecompositionType::MatrixType MatrixType; \ typedef typename MatrixType::Scalar Scalar; \ typedef typename MatrixType::RealScalar RealScalar; \ - typedef typename MatrixType::Index Index; \ typedef Eigen::internal::kernel_retval_base Base; \ using Base::dec; \ using Base::rank; \ -- cgit v1.2.3