bug #1059: fix predux_max<Packet4i> for NEON (this was already fixed in the default branch)

This commit is contained in:
Gael Guennebaud 2015-09-01 16:30:18 +02:00
parent 96f64441f7
commit 3ec6d38f35

View File

@ -384,6 +384,7 @@ template<> EIGEN_STRONG_INLINE int predux_max<Packet4i>(const Packet4i& a)
a_lo = vget_low_s32(a);
a_hi = vget_high_s32(a);
max = vpmax_s32(a_lo, a_hi);
max = vpmax_s32(max, max);
return vget_lane_s32(max, 0);
}