From 72bd05b6d8240b60e294397ac02a13ad53ae6167 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 9 Oct 2015 12:07:42 +0200 Subject: Cleaning in Redux.h --- Eigen/src/Core/Redux.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Eigen/src/Core/Redux.h') diff --git a/Eigen/src/Core/Redux.h b/Eigen/src/Core/Redux.h index c427a4d58..87b4a9c46 100644 --- a/Eigen/src/Core/Redux.h +++ b/Eigen/src/Core/Redux.h @@ -414,17 +414,7 @@ typename internal::traits::Scalar DenseBase::redux(const Func& func) const { eigen_assert(this->rows()>0 && this->cols()>0 && "you are using an empty matrix"); - - // FIXME, eval_nest should be handled by redux_evaluator, however: - // - it is currently difficult to provide the right Flags since they are still handled by the expressions - // - handling it here might reduce the number of template instantiations -// typedef typename internal::nested_eval::type ThisNested; -// typedef typename internal::remove_all::type ThisNestedCleaned; -// typedef typename internal::redux_evaluator ThisEvaluator; -// -// ThisNested thisNested(derived()); -// ThisEvaluator thisEval(thisNested); - + typedef typename internal::redux_evaluator ThisEvaluator; ThisEvaluator thisEval(derived()); -- cgit v1.2.3