Packet must be passed by const reference and not by value to avoid alignment issue.
This commit is contained in:
parent
36c9d08274
commit
20cac72b82
@ -166,7 +166,7 @@ class BlasLinearMapper {
|
||||
return ploadt<HalfPacket, AlignmentType>(m_data + i);
|
||||
}
|
||||
|
||||
EIGEN_ALWAYS_INLINE void storePacket(Index i, Packet p) const {
|
||||
EIGEN_ALWAYS_INLINE void storePacket(Index i, const Packet &p) const {
|
||||
pstoret<Scalar, Packet, AlignmentType>(m_data + i, p);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user