From 127d7f2071c9be2a62f881d53d0b696f43053453 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 19 Aug 2013 16:34:09 +0200 Subject: [PATCH] Fix bug #643: enable vectorization of compound assignement for fixed size objects --- Eigen/src/Core/SelfCwiseBinaryOp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/SelfCwiseBinaryOp.h b/Eigen/src/Core/SelfCwiseBinaryOp.h index 22f3047b4..96012eaf8 100644 --- a/Eigen/src/Core/SelfCwiseBinaryOp.h +++ b/Eigen/src/Core/SelfCwiseBinaryOp.h @@ -35,7 +35,7 @@ struct traits > enum { // Note that it is still a good idea to preserve the DirectAccessBit // so that assign can correctly align the data. - Flags = traits >::Flags | (Lhs::Flags&DirectAccessBit) | (Lhs::Flags&LvalueBit), + Flags = traits >::Flags | (Lhs::Flags&AlignedBit) | (Lhs::Flags&DirectAccessBit) | (Lhs::Flags&LvalueBit), OuterStrideAtCompileTime = Lhs::OuterStrideAtCompileTime, InnerStrideAtCompileTime = Lhs::InnerStrideAtCompileTime };