diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-09-15 15:45:41 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-09-15 15:45:41 +0000 |
commit | 247f2b0ffa734d2133db9bb81a48cb4b5620d145 (patch) | |
tree | 44610107cad4e0508177cad78d490c5dd6f427d2 /Eigen/src/QR | |
parent | 0940ad7127474dc0b6e5e271502988cb7141843a (diff) |
* block() for vectors ---> segment()
* documentation improvements, especially in quickstart guide
Diffstat (limited to 'Eigen/src/QR')
-rw-r--r-- | Eigen/src/QR/SelfAdjointEigenSolver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/QR/SelfAdjointEigenSolver.h b/Eigen/src/QR/SelfAdjointEigenSolver.h index 765af7d21..9e929620c 100644 --- a/Eigen/src/QR/SelfAdjointEigenSolver.h +++ b/Eigen/src/QR/SelfAdjointEigenSolver.h @@ -204,7 +204,7 @@ void SelfAdjointEigenSolver<MatrixType>::compute(const MatrixType& matrix, bool for (int i = 0; i < n-1; i++) { int k; - m_eivalues.block(i,n-i).minCoeff(&k); + m_eivalues.segment(i,n-i).minCoeff(&k); if (k > 0) { std::swap(m_eivalues[i], m_eivalues[k+i]); |