From 2b954be663bb45458c482aae81a65ae815bb3c7a Mon Sep 17 00:00:00 2001 From: Charles Schlosser Date: Tue, 18 Apr 2023 18:17:41 +0000 Subject: [PATCH] fix typo in sse packetmath --- Eigen/src/Core/arch/SSE/PacketMath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 95b2d1257..af085a0c1 100644 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -1076,7 +1076,7 @@ template<> EIGEN_STRONG_INLINE uint32_t pfirst(const Packet4ui& a) template<> EIGEN_STRONG_INLINE float pfirst(const Packet4f& a) { float x = _mm_cvtss_f32(a); return x; } template<> EIGEN_STRONG_INLINE double pfirst(const Packet2d& a) { double x = _mm_cvtsd_f64(a); return x; } template<> EIGEN_STRONG_INLINE int pfirst(const Packet4i& a) { int x = _mm_cvtsi128_si32(a); return x; } -template<> EIGEN_STRONG_INLINE int pfirst(const Packet4ui& a) { uint32_t x = numext::bit_cast(_mm_cvtsi128_si32(a)); return x; } +template<> EIGEN_STRONG_INLINE uint32_t pfirst(const Packet4ui& a) { uint32_t x = numext::bit_cast(_mm_cvtsi128_si32(a)); return x; } #else template<> EIGEN_STRONG_INLINE float pfirst(const Packet4f& a) { return _mm_cvtss_f32(a); } template<> EIGEN_STRONG_INLINE double pfirst(const Packet2d& a) { return _mm_cvtsd_f64(a); }