diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h index b13bedbd37868dd17c53392077baef3efcb480f1..5a6c35c9bafaa5c0c6b492b9134ac780bfdddc2f 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -90,8 +90,8 @@ typedef uint32x4_t Packet4ui; typedef int64x2_t Packet2l; typedef uint64x2_t Packet2ul; -EIGEN_ALWAYS_INLINE Packet4f make_packet4f(float a, float b, float c, float d) { return {a, b, c, d}; } -EIGEN_ALWAYS_INLINE Packet2f make_packet2f(float a, float b) { return {a, b}; } +EIGEN_ALWAYS_INLINE Packet4f make_packet4f(float a, float b, float c, float d) { return float32x4_t{a, b, c, d}; } +EIGEN_ALWAYS_INLINE Packet2f make_packet2f(float a, float b) { return float32x2_t{a, b}; } #endif // EIGEN_COMP_MSVC_STRICT