Skip to content
Snippets Groups Projects
Commit aea13702 authored by jcarpent's avatar jcarpent
Browse files

[Joint] Fix return type of Eigen::Product

parent d8b3fc1f
No related branches found
No related tags found
No related merge requests found
......@@ -270,13 +270,13 @@ namespace se3
inline
#if EIGEN_VERSION_AT_LEAST(3,2,90)
const typename Eigen::Product<
const typename SizeDepType<3>::ColsReturn<M6Like>::ConstType,
const typename ConstraintRevoluteUnalignedTpl<S2,O2>::Vector3
typename Eigen::internal::remove_const<typename SizeDepType<3>::ColsReturn<M6Like>::ConstType>::type,
typename ConstraintRevoluteUnalignedTpl<S2,O2>::Vector3
>
#else
const typename Eigen::ProductReturnType<
const typename SizeDepType<3>::ColsReturn<M6Like>::ConstType,
const typename ConstraintRevoluteUnalignedTpl<S2,O2>::Vector3
typename Eigen::internal::remove_const<typename SizeDepType<3>::ColsReturn<M6Like>::ConstType>::type,
typename ConstraintRevoluteUnalignedTpl<S2,O2>::Vector3
>::Type
#endif
operator*(const Eigen::MatrixBase<M6Like> & Y, const ConstraintRevoluteUnalignedTpl<S2,O2> & cru)
......
......@@ -355,13 +355,13 @@ namespace se3
template<typename Matrix6Like, typename S2, int O2>
#if EIGEN_VERSION_AT_LEAST(3,2,90)
const typename Eigen::Product<
typename SizeDepType<3>::ColsReturn<Matrix6Like>::ConstType,
const typename ConstraintSphericalZYXTpl<S2,O2>::Matrix3
typename Eigen::internal::remove_const<typename SizeDepType<3>::ColsReturn<Matrix6Like>::ConstType>::type,
typename ConstraintSphericalZYXTpl<S2,O2>::Matrix3
>
#else
const typename Eigen::ProductReturnType<
typename SizeDepType<3>::ColsReturn<Matrix6Like>::ConstType,
const typename ConstraintSphericalZYXTpl<S2,O2>::Matrix3
typename Eigen::internal::remove_const<typename SizeDepType<3>::ColsReturn<Matrix6Like>::ConstType>::type,
typename ConstraintSphericalZYXTpl<S2,O2>::Matrix3
>::Type
#endif
operator*(const Eigen::MatrixBase<Matrix6Like> & Y,
......
......@@ -217,7 +217,7 @@ namespace se3
/* [ABA] Y*S operator*/
template<typename M6Like, typename S2, int O2>
inline const typename SizeDepType<3>::ColsReturn<M6Like>::ConstType
inline typename SizeDepType<3>::ColsReturn<M6Like>::ConstType
operator*(const Eigen::MatrixBase<M6Like> & Y,
const ConstraintSphericalTpl<S2,O2> &)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment