diff options
author | Benoit Jacob <benoitjacob@google.com> | 2015-05-15 11:34:57 -0400 |
---|---|---|
committer | Benoit Jacob <benoitjacob@google.com> | 2015-05-15 11:34:57 -0400 |
commit | c88e1abaf3aa12c35e0c2793e3186702152dbdfa (patch) | |
tree | 742403b17feb387071f3b5ded763aeab5310219b /Eigen/src | |
parent | 807793ec3b5e8c6faa636b0b1372c89c200db525 (diff) |
also uninitialized here, see previous cset
Diffstat (limited to 'Eigen/src')
-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 348c14f07..cda9056a4 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -261,7 +261,7 @@ template<> EIGEN_DEVICE_FUNC inline Packet4f pgather<float, Packet4f>(const floa } template<> EIGEN_DEVICE_FUNC inline Packet4i pgather<int, Packet4i>(const int* from, Index stride) { - Packet4i res; + Packet4i res = pset1<Packet4i>(0); res = vsetq_lane_s32(from[0*stride], res, 0); res = vsetq_lane_s32(from[1*stride], res, 1); res = vsetq_lane_s32(from[2*stride], res, 2); |