From b5fd774775d31df3af532ab0798d8be3dc8448d9 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 2 Dec 2013 17:53:26 +0100 Subject: [PATCH] Fix flags of Product<> --- Eigen/src/Core/Product.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 970d257a5..3b8fd7d9a 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -33,12 +33,12 @@ template class Pro namespace internal { template struct traits > - : traits::Type> + : traits > { // We want A+B*C to be of type Product and not Product // TODO: This flag should eventually go in a separate evaluator traits class enum { - Flags = traits::Type>::Flags & ~(EvalBeforeNestingBit | DirectAccessBit) + Flags = traits >::Flags & ~(EvalBeforeNestingBit | DirectAccessBit) }; }; } // end namespace internal