diff options
-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> |