diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-02-18 14:20:36 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-02-18 14:20:36 +0100 |
commit | abce49ea2183efae910eb38ecd1c0cd55505d3d0 (patch) | |
tree | c62076828448cca2ee9c2e2a457fee58aaaf31a2 | |
parent | d271ad38ce85d8c4b8e39811c8063ba34c2b380a (diff) |
fix a segfault in "slice vectorization" when the destination might not be aligned on a scalar (complex<double>)
-rw-r--r-- | Eigen/src/Core/Assign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Assign.h b/Eigen/src/Core/Assign.h index 017331ccb..b06d07d05 100644 --- a/Eigen/src/Core/Assign.h +++ b/Eigen/src/Core/Assign.h @@ -474,7 +474,7 @@ struct assign_impl<Derived1, Derived2, SliceVectorizedTraversal, NoUnrolling> // do the vectorizable part of the assignment for(Index inner = alignedStart; inner<alignedEnd; inner+=packetSize) - dst.template copyPacketByOuterInner<Derived2, Aligned, Unaligned>(outer, inner, src); + dst.template copyPacketByOuterInner<Derived2, dstAlignment, Unaligned>(outer, inner, src); // do the non-vectorizable part of the assignment for(Index inner = alignedEnd; inner<innerSize ; ++inner) |