diff options
author | guoqiangqi <425418567@qq.com> | 2020-09-18 16:47:17 +0800 |
---|---|---|
committer | Guoqiang QI <425418567@qq.com> | 2020-09-19 00:53:21 +0000 |
commit | 9aad16b4434d3a8885436c57a746ecee20c50e90 (patch) | |
tree | 739f1db2251d42426e88daf99505833f57b1418a /Eigen/src/Core/arch/NEON/PacketMath.h | |
parent | c4aa8e0db2e7541043655c220a35e7f3e8f48201 (diff) |
Fix undefined reference to pset1frombits bug on different platforms
Diffstat (limited to 'Eigen/src/Core/arch/NEON/PacketMath.h')
-rw-r--r-- | Eigen/src/Core/arch/NEON/PacketMath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h index 741769089..1246abeaa 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -3732,7 +3732,7 @@ template<> EIGEN_STRONG_INLINE Packet2d pldexp<Packet2d>(const Packet2d& a, cons template<> EIGEN_STRONG_INLINE Packet2d pfrexp<Packet2d>(const Packet2d& a, Packet2d& exponent) { return pfrexp_double(a,exponent); } -template<> EIGEN_STRONG_INLINE Packet2d pset1frombits<Packet2d>(unsigned long from) +template<> EIGEN_STRONG_INLINE Packet2d pset1frombits<Packet2d>(uint64_t from) { return vreinterpretq_f64_u64(vdupq_n_u64(from)); } #if EIGEN_FAST_MATH |