diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-01-28 10:26:05 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-01-28 10:26:05 +0100 |
commit | 42d512d33c21130094d080f663712dd0d0683fca (patch) | |
tree | c0053a7c7a6d89bc6f67227ad22c2a915bf51166 | |
parent | 97801e5e0eff0b6c96254ea30c9f742f7c5868d5 (diff) |
fix compilation with gcc 4.2 and older
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 398bfaab0..99ddf1077 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -395,7 +395,7 @@ template<typename Derived> class MatrixBase /// \internal helper struct to form the return type of the cross product 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 Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> type; + typedef Matrix<Scalar,MatrixBase::RowsAtCompileTime,MatrixBase::ColsAtCompileTime> type; }; #endif // EIGEN_PARSED_BY_DOXYGEN template<typename OtherDerived> |