diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-10-29 18:02:18 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-10-29 18:02:18 +0100 |
commit | 2702788da71303afa71e53dfa6542a560115425a (patch) | |
tree | 0b0d3039c1fa9972c2d8621bed2957e55900456f /Eigen/src/QR | |
parent | 58c0a6f0fd6d86703b121961861d59f422366338 (diff) |
Fix bug #678: vectors of row and columns transpositions were not properly resized in FullPivQR
Diffstat (limited to 'Eigen/src/QR')
-rw-r--r-- | Eigen/src/QR/FullPivHouseholderQR.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/QR/FullPivHouseholderQR.h b/Eigen/src/QR/FullPivHouseholderQR.h index 611467367..8273eaa3b 100644 --- a/Eigen/src/QR/FullPivHouseholderQR.h +++ b/Eigen/src/QR/FullPivHouseholderQR.h @@ -418,8 +418,8 @@ FullPivHouseholderQR<MatrixType>& FullPivHouseholderQR<MatrixType>::compute(cons m_precision = NumTraits<Scalar>::epsilon() * size; - m_rows_transpositions.resize(matrix.rows()); - m_cols_transpositions.resize(matrix.cols()); + m_rows_transpositions.resize(size); + m_cols_transpositions.resize(size); Index number_of_transpositions = 0; RealScalar biggest(0); |