From f81dfcf00b8fb26bd21495023799118fa444870a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 3 Aug 2008 20:23:06 +0000 Subject: fix two perf issues in product. fix positive definite test in Cholesky. remove #include in CoreDeclaration. --- Eigen/src/Core/Product.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/Product.h') diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 973dcaa3c..d57c9d241 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -637,7 +637,7 @@ struct ei_cache_friendly_product_selector::_LhsNested Lhs; enum { UseLhsDirectly = ((ei_packet_traits::size==1) || (Lhs::Flags&ActualPacketAccessBit)) - && (!(Lhs::Flags & RowMajorBit)) }; + && (Lhs::Flags & RowMajorBit) }; template inline static void run(DestDerived& res, const ProductType& product) -- cgit v1.2.3