aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Product.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-08-03 20:23:06 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-08-03 20:23:06 +0000
commitf81dfcf00b8fb26bd21495023799118fa444870a (patch)
tree17ef3c8792f92d92e7b860c163330aecea4aaf6d /Eigen/src/Core/Product.h
parent49ae3fca8984dd22127c0b41c82648845930ffcd (diff)
fix two perf issues in product.
fix positive definite test in Cholesky. remove #include <cstring> in CoreDeclaration.
Diffstat (limited to 'Eigen/src/Core/Product.h')
-rw-r--r--Eigen/src/Core/Product.h2
1 files changed, 1 insertions, 1 deletions
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<ProductType,1,LhsOrder,LhsAccess,RhsCo
typedef typename ei_traits<ProductType>::_LhsNested Lhs;
enum {
UseLhsDirectly = ((ei_packet_traits<Scalar>::size==1) || (Lhs::Flags&ActualPacketAccessBit))
- && (!(Lhs::Flags & RowMajorBit)) };
+ && (Lhs::Flags & RowMajorBit) };
template<typename DestDerived>
inline static void run(DestDerived& res, const ProductType& product)