mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix stuff after the PermutationMatrix changes.
I still have JacobiSVD errors when cols>rows
This commit is contained in:
@@ -314,7 +314,7 @@ ColPivHouseholderQR<MatrixType>& ColPivHouseholderQR<MatrixType>::compute(const
|
||||
|
||||
m_cols_permutation.setIdentity(cols);
|
||||
for(int k = 0; k < size; ++k)
|
||||
m_cols_permutation.applyTranspositionOnTheLeft(k, cols_transpositions.coeff(k));
|
||||
m_cols_permutation.applyTranspositionOnTheRight(k, cols_transpositions.coeff(k));
|
||||
|
||||
m_det_pq = (number_of_transpositions%2) ? -1 : 1;
|
||||
m_isInitialized = true;
|
||||
|
||||
Reference in New Issue
Block a user