mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
because of a missing specialization, operator/(scalar) was not vectorized
This commit is contained in:
parent
db6c3d0197
commit
c087373968
@ -361,6 +361,10 @@ struct ei_scalar_quotient1_op : ei_scalar_quotient1_impl<Scalar, NumTraits<Scala
|
|||||||
EIGEN_STRONG_INLINE ei_scalar_quotient1_op(const Scalar& other)
|
EIGEN_STRONG_INLINE ei_scalar_quotient1_op(const Scalar& other)
|
||||||
: ei_scalar_quotient1_impl<Scalar, NumTraits<Scalar>::HasFloatingPoint >(other) {}
|
: ei_scalar_quotient1_impl<Scalar, NumTraits<Scalar>::HasFloatingPoint >(other) {}
|
||||||
};
|
};
|
||||||
|
template<typename Scalar>
|
||||||
|
struct ei_functor_traits<ei_scalar_quotient1_op<Scalar> >
|
||||||
|
: ei_functor_traits<ei_scalar_quotient1_impl<Scalar, NumTraits<Scalar>::HasFloatingPoint> >
|
||||||
|
{};
|
||||||
|
|
||||||
// nullary functors
|
// nullary functors
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user