mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-22 12:54:26 +08:00
Propagate LvalueBit flag to TriangularView
This commit is contained in:
parent
ecd2c8f37b
commit
5f6ec95291
@ -174,7 +174,7 @@ struct traits<TriangularView<MatrixType, _Mode> > : traits<MatrixType>
|
|||||||
typedef typename MatrixType::PlainObject DenseMatrixType;
|
typedef typename MatrixType::PlainObject DenseMatrixType;
|
||||||
enum {
|
enum {
|
||||||
Mode = _Mode,
|
Mode = _Mode,
|
||||||
Flags = (MatrixTypeNestedCleaned::Flags & (HereditaryBits) & (~(PacketAccessBit | DirectAccessBit | LinearAccessBit))) | Mode,
|
Flags = (MatrixTypeNestedCleaned::Flags & (HereditaryBits | LvalueBit) & (~(PacketAccessBit | DirectAccessBit | LinearAccessBit))) | Mode,
|
||||||
CoeffReadCost = MatrixTypeNestedCleaned::CoeffReadCost
|
CoeffReadCost = MatrixTypeNestedCleaned::CoeffReadCost
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user