aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Geometry/RotationBase.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-08-04 13:16:40 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-08-04 13:16:40 +0200
commitf3a6bc48c45901776e947eaa96e483ab2860b975 (patch)
tree941e123ea8d0ac203bd216320621e46fc9b6897e /Eigen/src/Geometry/RotationBase.h
parent2089a263f81417e290e249993058781ac4e23060 (diff)
fix a couple of compilation issue due to the removal of MultiplierBase
Diffstat (limited to 'Eigen/src/Geometry/RotationBase.h')
-rw-r--r--Eigen/src/Geometry/RotationBase.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Eigen/src/Geometry/RotationBase.h b/Eigen/src/Geometry/RotationBase.h
index b129b706b..baffd8e24 100644
--- a/Eigen/src/Geometry/RotationBase.h
+++ b/Eigen/src/Geometry/RotationBase.h
@@ -68,17 +68,18 @@ class RotationBase
/** \returns the concatenation of the rotation \c *this with a generic expression \a e
* \a e can be:
- * - a DimxDim linear transformation matrix (including an axis aligned scaling)
+ * - a DimxDim linear transformation matrix
+ * - a DimxDim diagonal matrix (axis aligned scaling)
* - a vector of size Dim
*/
template<typename OtherDerived>
inline typename ei_rotation_base_generic_product_selector<Derived,OtherDerived,OtherDerived::IsVectorAtCompileTime>::ReturnType
- operator*(const MatrixBase<OtherDerived>& e) const
+ operator*(const AnyMatrixBase<OtherDerived>& e) const
{ return ei_rotation_base_generic_product_selector<Derived,OtherDerived>::run(derived(), e.derived()); }
/** \returns the concatenation of a linear transformation \a l with the rotation \a r */
template<typename OtherDerived> friend
- inline RotationMatrixType operator*(const MultiplierBase<OtherDerived>& l, const Derived& r)
+ inline RotationMatrixType operator*(const AnyMatrixBase<OtherDerived>& l, const Derived& r)
{ return l.derived() * r.toRotationMatrix(); }
/** \returns the concatenation of the rotation \c *this with a transformation \a t */