mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-31 01:03:38 +08:00
Made MatrixBase::BasisReturnType const.
This commit is contained in:
parent
6c3dc0d243
commit
8aee724274
@ -137,7 +137,7 @@ template<typename Derived> class MatrixBase
|
|||||||
/** \internal the return type of identity */
|
/** \internal the return type of identity */
|
||||||
typedef CwiseNullaryOp<internal::scalar_identity_op<Scalar>,Derived> IdentityReturnType;
|
typedef CwiseNullaryOp<internal::scalar_identity_op<Scalar>,Derived> IdentityReturnType;
|
||||||
/** \internal the return type of unit vectors */
|
/** \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>::RowsAtCompileTime,
|
||||||
internal::traits<Derived>::ColsAtCompileTime> BasisReturnType;
|
internal::traits<Derived>::ColsAtCompileTime> BasisReturnType;
|
||||||
#endif // not EIGEN_PARSED_BY_DOXYGEN
|
#endif // not EIGEN_PARSED_BY_DOXYGEN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user