From 1388f4f9fd3f8804128a5f86ead7e478e59a4749 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 18 Apr 2014 11:43:13 +0200 Subject: Fix typo (was working with clang\!) --- Eigen/src/Core/arch/AVX/Complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/arch/AVX/Complex.h') diff --git a/Eigen/src/Core/arch/AVX/Complex.h b/Eigen/src/Core/arch/AVX/Complex.h index d0646e77d..18be2f225 100644 --- a/Eigen/src/Core/arch/AVX/Complex.h +++ b/Eigen/src/Core/arch/AVX/Complex.h @@ -78,7 +78,7 @@ template<> EIGEN_STRONG_INLINE Packet4cf ploadu(const std::complex EIGEN_STRONG_INLINE Packet4cf pset1(const std::complex& from) { - return Packet4cf(_mm256_castps_pd(_mm256_broadcast_sd((const double*)(const void*)&from))); + return Packet4cf(_mm256_castpd_ps(_mm256_broadcast_sd((const double*)(const void*)&from))); } template<> EIGEN_STRONG_INLINE Packet4cf ploaddup(const std::complex* from) -- cgit v1.2.3