aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-04-02 22:06:27 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-04-02 22:06:27 +0000
commit3ddc0974ce42d7cdd9161dda2a9558d6800d12c8 (patch)
treed7f2c3352c9d7fdf6fcad0cf240206e9ec5033d1 /Eigen
parentc24bee6120d40987b15df0cbdaaa60e3de877e01 (diff)
Fix two bugs in commit
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/SVD/SVDBase.h5
1 files changed, 3 insertions, 2 deletions
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<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>