diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-11-21 15:03:04 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-11-21 15:03:04 +0100 |
commit | b265979a70ba06f4d4e8ba737d5d16bfd5c27ea3 (patch) | |
tree | 8e7a87e8425e8139ccca978be2721c62b40e83d9 /Eigen | |
parent | a367804856cf3a39d9d43d10ec3ba2e335a8ec3a (diff) |
Make FullPivLU::solve use rank() instead of nonzeroPivots().
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/LU/FullPivLU.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/LU/FullPivLU.h b/Eigen/src/LU/FullPivLU.h index 07a87cbc6..498df8adc 100644 --- a/Eigen/src/LU/FullPivLU.h +++ b/Eigen/src/LU/FullPivLU.h @@ -720,7 +720,7 @@ void FullPivLU<_MatrixType>::_solve_impl(const RhsType &rhs, DstType &dst) const const Index rows = this->rows(), cols = this->cols(), - nonzero_pivots = this->nonzeroPivots(); + nonzero_pivots = this->rank(); eigen_assert(rhs.rows() == rows); const Index smalldim = (std::min)(rows, cols); |