From c88e1abaf3aa12c35e0c2793e3186702152dbdfa Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 15 May 2015 11:34:57 -0400 Subject: also uninitialized here, see previous cset --- Eigen/src/Core/arch/NEON/PacketMath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/arch/NEON/PacketMath.h') 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(const floa } template<> EIGEN_DEVICE_FUNC inline Packet4i pgather(const int* from, Index stride) { - Packet4i res; + Packet4i res = pset1(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); -- cgit v1.2.3