0
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-01-18 17:31:19 +01:00

Fix bug #678: vectors of row and columns transpositions were not properly resized in FullPivQR

This commit is contained in:
Gael Guennebaud
2013-10-29 18:02:18 +01:00
parent 58c0a6f0fd
commit 2702788da7

View File

@@ -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);