aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-03-09 23:14:53 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-03-09 23:14:53 +0000
commitc0873739685b39b3122b57b07647e25b42dd5284 (patch)
tree12ae20bd649aa37ecb4bacc3629b955b85fdddb8 /Eigen/src
parentdb6c3d0197144638ced6ff97d2b6f2e8aef61cd4 (diff)
because of a missing specialization, operator/(scalar) was not vectorized
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Core/Functors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/Core/Functors.h b/Eigen/src/Core/Functors.h
index 6a8cf980d..7940baa0b 100644
--- a/Eigen/src/Core/Functors.h
+++ b/Eigen/src/Core/Functors.h
@@ -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)
: 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