diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-23 22:02:53 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-23 22:02:53 +0100 |
commit | ca79c1545aa728b756191f0cc3abd62fb7f867b8 (patch) | |
tree | d1712b8d91e28df628674d020270193d13c74a8a /Eigen/src/Core/arch/AltiVec/Complex.h | |
parent | 4b607b5692bc2e26510861f1ce85c78aaf2057ff (diff) |
Add std:: namespace prefix to all (hopefully) instances if size_t/ptrdfiff_t
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 59367ba29..67db2f8ee 100644 --- a/Eigen/src/Core/arch/AltiVec/Complex.h +++ b/Eigen/src/Core/arch/AltiVec/Complex.h @@ -65,7 +65,7 @@ template<> struct unpacket_traits<Packet2cf> { typedef std::complex<float> type; template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float>& from) { Packet2cf res; - if((ptrdiff_t(&from) % 16) == 0) + if((std::ptrdiff_t(&from) % 16) == 0) res.v = pload<Packet4f>((const float *)&from); else res.v = ploadu<Packet4f>((const float *)&from); |