diff options
-rw-r--r-- | Eigen/src/Array/Functors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Array/Functors.h b/Eigen/src/Array/Functors.h index 5b53a9cee..31bcca899 100644 --- a/Eigen/src/Array/Functors.h +++ b/Eigen/src/Array/Functors.h @@ -152,7 +152,7 @@ struct ei_scalar_inverse_op { inline Scalar operator() (const Scalar& a) const { return Scalar(1)/a; } template<typename PacketScalar> inline const PacketScalar packetOp(const PacketScalar& a) const - { return ei_div(ei_pset1(Scalar(1)),a); } + { return ei_pdiv(ei_pset1(Scalar(1)),a); } }; template<typename Scalar> struct ei_functor_traits<ei_scalar_inverse_op<Scalar> > |