Fix a few regression when moving the flags

This commit is contained in:
Gael Guennebaud
2014-03-12 16:18:34 +01:00
parent 0bd5671b9e
commit a6be1952f4
6 changed files with 30 additions and 4 deletions

View File

@@ -51,6 +51,14 @@ struct traits<Product<Lhs, Rhs, Option> >
MaxRowsAtCompileTime = LhsCleaned::MaxRowsAtCompileTime,
MaxColsAtCompileTime = RhsCleaned::MaxColsAtCompileTime,
// FIXME: only needed by GeneralMatrixMatrixTriangular
InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(LhsCleaned::ColsAtCompileTime, RhsCleaned::RowsAtCompileTime),
#ifndef EIGEN_TEST_EVALUATORS
// dummy, for evaluators unit test only
CoeffReadCost = Dynamic,
#endif
// The storage order is somewhat arbitrary here. The correct one will be determined through the evaluator.
Flags = (MaxRowsAtCompileTime==1 ? RowMajorBit : 0)
};