From 3e194a6a7311acc8ef1257d11cb2c7e4c7fed8ae Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Tue, 25 Oct 2016 08:42:15 -0700 Subject: [PATCH] Fixed a typo --- 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 a28857873..13cb51b8d 100755 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -824,7 +824,7 @@ template<> EIGEN_DEVICE_FUNC Packet4f pinsertlast(const Packet4f& a, float b) return _mm_blend_ps(a,pset1(b),(1<<3)); #else const Packet4f mask = _mm_castsi128_ps(_mm_setr_epi32(0x0,0x0,0x0,0xFFFFFFFF)); - return _mm_or_ps(_mm_andnot_pd(mask, a), _mm_and_pd(mask, pset1(b))); + return _mm_or_ps(_mm_andnot_ps(mask, a), _mm_and_ps(mask, pset1(b))); #endif }