diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-07-23 16:29:29 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-07-23 16:29:29 +0200 |
commit | aa2b46aa9151bd739ba02114e1dad643a8cc5c4d (patch) | |
tree | 857c13746870a614a42661c7174363e65b83dbb7 /Eigen/src/Core/Map.h | |
parent | 853c0e15df2c13cbfc4a85eab2c7f2edea2cee49 (diff) |
allow vectorization of mat44.col() by adding a InnerPanel boolean
template parameter to Block
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r-- | Eigen/src/Core/Map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h index 3386c6d69..763948453 100644 --- a/Eigen/src/Core/Map.h +++ b/Eigen/src/Core/Map.h @@ -100,7 +100,7 @@ struct ei_traits<Map<PlainObjectType, MapOptions, StrideType> > || ( OuterStrideAtCompileTime!=Dynamic && ((static_cast<int>(sizeof(Scalar))*OuterStrideAtCompileTime)%16)==0 ) ), Flags0 = ei_traits<PlainObjectType>::Flags, - Flags1 = IsAligned ? int(Flags0) | AlignedBit : int(Flags0) & ~AlignedBit, + Flags1 = IsAligned ? (int(Flags0) | AlignedBit) : (int(Flags0) & ~AlignedBit), Flags2 = HasNoStride ? int(Flags1) : int(Flags1 & ~LinearAccessBit), Flags = KeepsPacketAccess ? int(Flags2) : (int(Flags2) & ~PacketAccessBit) }; |