mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Even more NestByValue cleanup...
This commit is contained in:
@@ -356,7 +356,7 @@ template<typename _MatrixType> class FullPivLU
|
||||
ei_assert(m_isInitialized && "LU is not initialized.");
|
||||
ei_assert(m_lu.rows() == m_lu.cols() && "You can't take the inverse of a non-square matrix!");
|
||||
return ei_solve_retval<FullPivLU,typename MatrixType::IdentityReturnType>
|
||||
(*this, MatrixType::Identity(m_lu.rows(), m_lu.cols()).nestByValue());
|
||||
(*this, MatrixType::Identity(m_lu.rows(), m_lu.cols()));
|
||||
}
|
||||
|
||||
inline int rows() const { return m_lu.rows(); }
|
||||
|
||||
@@ -147,7 +147,7 @@ template<typename _MatrixType> class PartialPivLU
|
||||
{
|
||||
ei_assert(m_isInitialized && "PartialPivLU is not initialized.");
|
||||
return ei_solve_retval<PartialPivLU,typename MatrixType::IdentityReturnType>
|
||||
(*this, MatrixType::Identity(m_lu.rows(), m_lu.cols()).nestByValue());
|
||||
(*this, MatrixType::Identity(m_lu.rows(), m_lu.cols()));
|
||||
}
|
||||
|
||||
/** \returns the determinant of the matrix of which
|
||||
|
||||
Reference in New Issue
Block a user