From 92b9f0e102b35c3091bdeea3fc65f38f0e93c612 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 2 Sep 2015 21:38:40 +0200 Subject: Cleaning pass on evaluators: remove the useless and error prone evaluator<>::type indirection. --- Eigen/src/Core/TriangularMatrix.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Eigen/src/Core/TriangularMatrix.h') diff --git a/Eigen/src/Core/TriangularMatrix.h b/Eigen/src/Core/TriangularMatrix.h index 351630e57..63a1af8c1 100644 --- a/Eigen/src/Core/TriangularMatrix.h +++ b/Eigen/src/Core/TriangularMatrix.h @@ -664,7 +664,6 @@ struct unary_evaluator, IndexBased> { typedef TriangularView XprType; typedef evaluator::type> Base; - typedef evaluator type; unary_evaluator(const XprType &xpr) : Base(xpr.nestedExpression()) {} }; @@ -734,8 +733,8 @@ EIGEN_DEVICE_FUNC void call_triangular_assignment_loop(const DstXprType& dst, co { eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); - typedef typename evaluator::type DstEvaluatorType; - typedef typename evaluator::type SrcEvaluatorType; + typedef evaluator DstEvaluatorType; + typedef evaluator SrcEvaluatorType; DstEvaluatorType dstEvaluator(dst); SrcEvaluatorType srcEvaluator(src); -- cgit v1.2.3