diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-02-23 17:51:40 +0300 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-02-23 17:51:40 +0300 |
commit | 6e01780541bfcddca87503ee2af15193ce3642ff (patch) | |
tree | bacb4e1ec373747f09b87712220a0e1be25d8c12 /Eigen/src/Core/arch/AltiVec/Complex.h | |
parent | 939f0327b640c3f6ebb712a4b1237b7d5c0b49bc (diff) |
fix a couple of issues with pcplxflip
Diffstat (limited to 'Eigen/src/Core/arch/AltiVec/Complex.h')
-rw-r--r-- | Eigen/src/Core/arch/AltiVec/Complex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/AltiVec/Complex.h b/Eigen/src/Core/arch/AltiVec/Complex.h index 03e094c95..53fb1ba31 100644 --- a/Eigen/src/Core/arch/AltiVec/Complex.h +++ b/Eigen/src/Core/arch/AltiVec/Complex.h @@ -215,9 +215,9 @@ template<> EIGEN_STRONG_INLINE Packet2cf pdiv<Packet2cf>(const Packet2cf& a, con return Packet2cf(pdiv(res.v, vec_add(s,vec_perm(s, s, p16uc_COMPLEX_REV)))); } -EIGEN_STRONG_INLINE Packet2cf pcplxflip/*<Packet2cf>*/(const Packet2cf& x) +template<> EIGEN_STRONG_INLINE Packet2cf pcplxflip<Packet2cf>(const Packet2cf& x) { - return Packet2cf(vec_perm(x, x, p16uc_COMPLEX_REV)); + return Packet2cf(vec_perm(x.v, x.v, p16uc_COMPLEX_REV)); } } // end namespace internal |