bugfix from Timothy Hunter s/ei_div/ei_pdiv

This commit is contained in:
Gael Guennebaud 2008-08-22 22:01:02 +00:00
parent e0f627a7db
commit 8509668466

View File

@ -152,7 +152,7 @@ struct ei_scalar_inverse_op {
inline Scalar operator() (const Scalar& a) const { return Scalar(1)/a; } inline Scalar operator() (const Scalar& a) const { return Scalar(1)/a; }
template<typename PacketScalar> template<typename PacketScalar>
inline const PacketScalar packetOp(const PacketScalar& a) const 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> template<typename Scalar>
struct ei_functor_traits<ei_scalar_inverse_op<Scalar> > struct ei_functor_traits<ei_scalar_inverse_op<Scalar> >