mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
DiagonalWrapper is a vector, so it must expose the LinearAccessBit flag.
This commit is contained in:
parent
a226f6af6b
commit
6a2916df80
@ -1325,7 +1325,7 @@ struct evaluator<Diagonal<ArgType, DiagIndex> >
|
||||
enum {
|
||||
CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
|
||||
|
||||
Flags = (unsigned int)evaluator<ArgType>::Flags & (HereditaryBits | LinearAccessBit | DirectAccessBit) & ~RowMajorBit,
|
||||
Flags = (unsigned int)(evaluator<ArgType>::Flags & (HereditaryBits | DirectAccessBit) & ~RowMajorBit) | LinearAccessBit,
|
||||
|
||||
Alignment = 0
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user