Made MatrixBase::BasisReturnType const.

This commit is contained in:
Hauke Heibel 2011-02-05 15:53:17 +01:00
parent 6c3dc0d243
commit 8aee724274

View File

@ -137,7 +137,7 @@ template<typename Derived> class MatrixBase
/** \internal the return type of identity */
typedef CwiseNullaryOp<internal::scalar_identity_op<Scalar>,Derived> IdentityReturnType;
/** \internal the return type of unit vectors */
typedef Block<CwiseNullaryOp<internal::scalar_identity_op<Scalar>, SquareMatrixType>,
typedef Block<const CwiseNullaryOp<internal::scalar_identity_op<Scalar>, SquareMatrixType>,
internal::traits<Derived>::RowsAtCompileTime,
internal::traits<Derived>::ColsAtCompileTime> BasisReturnType;
#endif // not EIGEN_PARSED_BY_DOXYGEN