diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-21 10:24:59 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-21 10:24:59 -0500 |
commit | 5be269db8820981f2281136aa626cf6ac5282981 (patch) | |
tree | 51fc8fc7f0159a454a38f89866500c30a37ffb1c /Eigen | |
parent | cc2b7a53977eb3efc0a162792ace00d8a55b7bdb (diff) |
make eigen2 submatrices test pass
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Eigen2Support/Minor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Eigen2Support/Minor.h b/Eigen/src/Eigen2Support/Minor.h index 3b3acd605..eda91cc32 100644 --- a/Eigen/src/Eigen2Support/Minor.h +++ b/Eigen/src/Eigen2Support/Minor.h @@ -56,7 +56,7 @@ struct traits<Minor<MatrixType> > int(MatrixType::MaxRowsAtCompileTime) - 1 : Dynamic, MaxColsAtCompileTime = (MatrixType::MaxColsAtCompileTime != Dynamic) ? int(MatrixType::MaxColsAtCompileTime) - 1 : Dynamic, - Flags = _MatrixTypeNested::Flags & HereditaryBits, + Flags = _MatrixTypeNested::Flags & (HereditaryBits | LvalueBit), CoeffReadCost = _MatrixTypeNested::CoeffReadCost // minor is used typically on tiny matrices, // where loops are unrolled and the 'if' evaluates at compile time }; |