Doc: warn about constness in LLT::solveInPlace

This commit is contained in:
Gael Guennebaud 2017-08-22 14:12:47 +02:00
parent 0c226644d8
commit b223918ea9

View File

@ -489,6 +489,9 @@ void LLT<_MatrixType,_UpLo>::_solve_impl(const RhsType &rhs, DstType &dst) const
*
* This version avoids a copy when the right hand side matrix b is not needed anymore.
*
* \warning The parameter is only marked 'const' to make the C++ compiler accept a temporary expression here.
* This function will const_cast it, so constness isn't honored here.
*
* \sa LLT::solve(), MatrixBase::llt()
*/
template<typename MatrixType, int _UpLo>