diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-02-22 15:26:28 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-02-22 15:26:28 +0100 |
commit | 39b27fb65686d3e3f415a7f8254968faa8e02f39 (patch) | |
tree | 5f9911538ed25e65656950af146609b1316ef828 /Eigen/src/Core/arch/AltiVec/Complex.h | |
parent | 25579df2d4b38e434aee4cf0368bf4ffc8ac847d (diff) |
altivec compilation fix
Diffstat (limited to 'Eigen/src/Core/arch/AltiVec/Complex.h')
-rw-r--r-- | Eigen/src/Core/arch/AltiVec/Complex.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<float> predux<Packet2cf>(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<Packet2cf>(const Packet2cf* vecs) |