aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Redux.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-09 12:07:42 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-09 12:07:42 +0200
commit72bd05b6d8240b60e294397ac02a13ad53ae6167 (patch)
tree0a3429ba068bf73c3e506c06f6488b4b54ac9ba1 /Eigen/src/Core/Redux.h
parent2c516ba38f86ce04c15f9cf2472638e619528b20 (diff)
Cleaning in Redux.h
Diffstat (limited to 'Eigen/src/Core/Redux.h')
-rw-r--r--Eigen/src/Core/Redux.h12
1 files changed, 1 insertions, 11 deletions
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<Derived>::Scalar
DenseBase<Derived>::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<Derived,1>::type ThisNested;
-// typedef typename internal::remove_all<ThisNested>::type ThisNestedCleaned;
-// typedef typename internal::redux_evaluator<ThisNestedCleaned> ThisEvaluator;
-//
-// ThisNested thisNested(derived());
-// ThisEvaluator thisEval(thisNested);
-
+
typedef typename internal::redux_evaluator<Derived> ThisEvaluator;
ThisEvaluator thisEval(derived());