Fix compilation with gcc 4.3 and ARM NEON

(grafted from 1d59ca245811b5becc24bc89510b3d359f3a2dc1
)
This commit is contained in:
Gael Guennebaud 2017-06-09 13:20:52 +02:00
parent b69e465d7a
commit e41713d52e

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);
}