mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-16 13:45:58 +08:00
Fix bug #643: enable vectorization of compound assignement for fixed size objects
This commit is contained in:
parent
c47010e3d2
commit
127d7f2071
@ -35,7 +35,7 @@ struct traits<SelfCwiseBinaryOp<BinaryOp,Lhs,Rhs> >
|
|||||||
enum {
|
enum {
|
||||||
// Note that it is still a good idea to preserve the DirectAccessBit
|
// Note that it is still a good idea to preserve the DirectAccessBit
|
||||||
// so that assign can correctly align the data.
|
// so that assign can correctly align the data.
|
||||||
Flags = traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >::Flags | (Lhs::Flags&DirectAccessBit) | (Lhs::Flags&LvalueBit),
|
Flags = traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >::Flags | (Lhs::Flags&AlignedBit) | (Lhs::Flags&DirectAccessBit) | (Lhs::Flags&LvalueBit),
|
||||||
OuterStrideAtCompileTime = Lhs::OuterStrideAtCompileTime,
|
OuterStrideAtCompileTime = Lhs::OuterStrideAtCompileTime,
|
||||||
InnerStrideAtCompileTime = Lhs::InnerStrideAtCompileTime
|
InnerStrideAtCompileTime = Lhs::InnerStrideAtCompileTime
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user