diff options
author | guoqiangqi <guoqiang.qi1@gmail.com> | 2021-05-10 09:27:41 +0800 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2021-05-10 23:53:16 +0000 |
commit | 3d9051ea84a5089b277c88dac456b3b1576bfa7f (patch) | |
tree | 365b0f15ccbcee823e3de0a0a7f07955fd008c89 | |
parent | 39ec31c0adbdde6b8cda36b3415e9cc2af20dab6 (diff) |
Changing the storage of the SSE complex packets to that of the wrapper. This should fix #2242 .
-rw-r--r-- | Eigen/src/Core/arch/SSE/Complex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/SSE/Complex.h b/Eigen/src/Core/arch/SSE/Complex.h index 13b53242e..1cab374c0 100644 --- a/Eigen/src/Core/arch/SSE/Complex.h +++ b/Eigen/src/Core/arch/SSE/Complex.h @@ -19,7 +19,7 @@ struct Packet2cf { EIGEN_STRONG_INLINE Packet2cf() {} EIGEN_STRONG_INLINE explicit Packet2cf(const __m128& a) : v(a) {} - __m128 v; + Packet4f v; }; // Use the packet_traits defined in AVX/PacketMath.h instead if we're going @@ -240,7 +240,7 @@ struct Packet1cd { EIGEN_STRONG_INLINE Packet1cd() {} EIGEN_STRONG_INLINE explicit Packet1cd(const __m128d& a) : v(a) {} - __m128d v; + Packet2d v; }; // Use the packet_traits defined in AVX/PacketMath.h instead if we're going |