Fix typo in dense * diagonal evaluator.

This commit is contained in:
Gael Guennebaud 2014-07-01 18:04:30 +02:00
parent 7390af91b6
commit 8f4cdbbc8f

View File

@ -858,7 +858,7 @@ struct product_evaluator<Product<Lhs, Rhs, ProductKind>, ProductTag, DenseShape,
typedef Product<Lhs, Rhs, ProductKind> XprType;
typedef typename XprType::PlainObject PlainObject;
enum { StorageOrder = int(Rhs::Flags) & RowMajorBit ? RowMajor : ColMajor };
enum { StorageOrder = int(Lhs::Flags) & RowMajorBit ? RowMajor : ColMajor };
product_evaluator(const XprType& xpr)
: Base(xpr.lhs(), xpr.rhs().diagonal())