diff --git a/Eigen/src/Core/arch/SSE/MathFunctions.h b/Eigen/src/Core/arch/SSE/MathFunctions.h index 7a0aee658..99cbd0d95 100644 --- a/Eigen/src/Core/arch/SSE/MathFunctions.h +++ b/Eigen/src/Core/arch/SSE/MathFunctions.h @@ -466,7 +466,7 @@ template<> EIGEN_STRONG_INLINE Packet4f psqrt(const Packet4f& x) { ret #endif -template<> EIGEN_STRONG_INLINE Packet4f psqrt(const Packet2d& x) { return _mm_sqrt_pd(x); } +template<> EIGEN_STRONG_INLINE Packet2d psqrt(const Packet2d& x) { return _mm_sqrt_pd(x); } } // end namespace internal