diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-07-22 17:23:11 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-07-22 17:23:11 +0200 |
commit | 9daa66f262562737f3dfe5c5318031c667252081 (patch) | |
tree | de23208d1325a9bcae5219cb2a00cbae1eb26116 /Eigen/src/Core/SelfCwiseBinaryOp.h | |
parent | 5d98fa235dc51465a99feedb91bd525bae673adf (diff) |
fix merge conflicts
Diffstat (limited to 'Eigen/src/Core/SelfCwiseBinaryOp.h')
-rw-r--r-- | Eigen/src/Core/SelfCwiseBinaryOp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/SelfCwiseBinaryOp.h b/Eigen/src/Core/SelfCwiseBinaryOp.h index de8c4e740..5100f6b25 100644 --- a/Eigen/src/Core/SelfCwiseBinaryOp.h +++ b/Eigen/src/Core/SelfCwiseBinaryOp.h @@ -44,7 +44,9 @@ struct ei_traits<SelfCwiseBinaryOp<BinaryOp,Lhs,Rhs> > : ei_traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> > { enum { - Flags = ei_traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >::Flags | (Lhs::Flags&DirectAccessBit), + // Note that it is still a good idea to preserve the DirectAccessBit + // so that assign can correctly align the data. + Flags = ei_traits<CwiseBinaryOp<BinaryOp,Lhs,Rhs> >::Flags | (Lhs::Flags&DirectAccessBit) | (Lhs::Flags&LvalueBit), OuterStrideAtCompileTime = Lhs::OuterStrideAtCompileTime, InnerStrideAtCompileTime = Lhs::InnerStrideAtCompileTime }; |