mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix two bugs in commit
This commit is contained in:
@@ -51,6 +51,9 @@ template<typename Derived> struct traits<SVDBase<Derived> >
|
||||
* smaller value among \a n and \a p, there are only \a m singular vectors; the remaining columns of \a U and \a V do not correspond to actual
|
||||
* singular vectors. Asking for \em thin \a U or \a V means asking for only their \a m first columns to be formed. So \a U is then a n-by-m matrix,
|
||||
* and \a V is then a p-by-m matrix. Notice that thin \a U and \a V are all you need for (least squares) solving.
|
||||
*
|
||||
* The status of the computation can be retrived using the \a info() method. Unless \a info() returns \a Success, the results should be not
|
||||
* considered well defined.
|
||||
*
|
||||
* If the input matrix has inf or nan coefficients, the result of the computation is undefined, and \a info() will return \a InvalidInput, but the computation is guaranteed to
|
||||
* terminate in finite (and reasonable) time.
|
||||
@@ -253,8 +256,6 @@ protected:
|
||||
|
||||
void _check_compute_assertions() const {
|
||||
eigen_assert(m_isInitialized && "SVD is not initialized.");
|
||||
eigen_assert(m_info != InvalidInput && "SVD failed due to invalid input.");
|
||||
eigen_assert(m_info != NumericalIssue && "SVD failed due to invalid input.");
|
||||
}
|
||||
|
||||
template<bool Transpose_, typename Rhs>
|
||||
|
||||
Reference in New Issue
Block a user