mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 18:19:34 +08:00
fix compilation with gcc 4.2 and older
This commit is contained in:
parent
97801e5e0e
commit
42d512d33c
@ -395,7 +395,7 @@ template<typename Derived> class MatrixBase
|
|||||||
/// \internal helper struct to form the return type of the cross product
|
/// \internal helper struct to form the return type of the cross product
|
||||||
template<typename OtherDerived> struct cross_product_return_type {
|
template<typename OtherDerived> struct cross_product_return_type {
|
||||||
typedef typename internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,typename internal::traits<OtherDerived>::Scalar>::ReturnType Scalar;
|
typedef typename internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,typename internal::traits<OtherDerived>::Scalar>::ReturnType Scalar;
|
||||||
typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> type;
|
typedef Matrix<Scalar,MatrixBase::RowsAtCompileTime,MatrixBase::ColsAtCompileTime> type;
|
||||||
};
|
};
|
||||||
#endif // EIGEN_PARSED_BY_DOXYGEN
|
#endif // EIGEN_PARSED_BY_DOXYGEN
|
||||||
template<typename OtherDerived>
|
template<typename OtherDerived>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user