diff --git a/sse4_1.hh b/sse4_1.hh index 1b9d8c7..3af6b7d 100644 --- a/sse4_1.hh +++ b/sse4_1.hh @@ -613,7 +613,7 @@ template <> inline SIMD vcopysign(SIMD a, SIMD b) { SIMD tmp; - __m128 negz = _mm_set1_pd(-0.); + __m128d negz = _mm_set1_pd(-0.); tmp.m = _mm_or_pd( _mm_andnot_pd(negz, a.m), _mm_and_pd(negz, b.m));