diff --git a/libsrc/general/ngsimd.hpp b/libsrc/general/ngsimd.hpp index e013397a..97e92052 100644 --- a/libsrc/general/ngsimd.hpp +++ b/libsrc/general/ngsimd.hpp @@ -311,7 +311,7 @@ using std::fabs; template>::value, int>::type = 0> SIMD (const T & func) { - data = _mm_set_pd(func(3), func(2), func(1), func(0)); + data = _mm_set_pd(func(1), func(0)); } // only called if T is arithmetic (integral or floating point types)