mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
bugfix from Timothy Hunter s/ei_div/ei_pdiv
This commit is contained in:
parent
e0f627a7db
commit
8509668466
@ -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> >
|
||||||
|
Loading…
Reference in New Issue
Block a user