Fix compilation with gcc 4.3 and ARM NEON

This commit is contained in:
Gael Guennebaud 2017-06-09 13:20:52 +02:00
parent fb1ee04087
commit 1d59ca2458

View File

@ -116,7 +116,7 @@ template<> EIGEN_STRONG_INLINE Packet4i pset1<Packet4i>(const int32_t& from)
template<> EIGEN_STRONG_INLINE Packet4f plset<Packet4f>(const float& a)
{
const float32_t f[] = {0, 1, 2, 3};
const float f[] = {0, 1, 2, 3};
Packet4f countdown = vld1q_f32(f);
return vaddq_f32(pset1<Packet4f>(a), countdown);
}