diff --git a/Eigen/src/Core/arch/AltiVec/Complex.h b/Eigen/src/Core/arch/AltiVec/Complex.h index d5667685d..f8498929d 100644 --- a/Eigen/src/Core/arch/AltiVec/Complex.h +++ b/Eigen/src/Core/arch/AltiVec/Complex.h @@ -136,7 +136,7 @@ template<> EIGEN_STRONG_INLINE std::complex predux(const Packe Packet4f b; b = (Packet4f) vec_sld(a.v, a.v, 8); b = padd(a.v, b); - return pfirst(Packet2cf(sum)); + return pfirst(Packet2cf(b)); } template<> EIGEN_STRONG_INLINE Packet2cf preduxp(const Packet2cf* vecs)