From 3ddc0974ce42d7cdd9161dda2a9558d6800d12c8 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 2 Apr 2021 22:06:27 +0000 Subject: Fix two bugs in commit --- Eigen/src/SVD/SVDBase.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Eigen') diff --git a/Eigen/src/SVD/SVDBase.h b/Eigen/src/SVD/SVDBase.h index 13c8394ae..bc7ab88b4 100644 --- a/Eigen/src/SVD/SVDBase.h +++ b/Eigen/src/SVD/SVDBase.h @@ -51,6 +51,9 @@ template struct traits > * 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 -- cgit v1.2.3