mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 22:51:51 +08:00
Fix bug #678: vectors of row and columns transpositions were not properly resized in FullPivQR
(grafted from 2702788da71303afa71e53dfa6542a560115425a )
This commit is contained in:
parent
a5522a1381
commit
bf9747b9ff
@ -418,8 +418,8 @@ FullPivHouseholderQR<MatrixType>& FullPivHouseholderQR<MatrixType>::compute(cons
|
|||||||
|
|
||||||
m_precision = NumTraits<Scalar>::epsilon() * size;
|
m_precision = NumTraits<Scalar>::epsilon() * size;
|
||||||
|
|
||||||
m_rows_transpositions.resize(matrix.rows());
|
m_rows_transpositions.resize(size);
|
||||||
m_cols_transpositions.resize(matrix.cols());
|
m_cols_transpositions.resize(size);
|
||||||
Index number_of_transpositions = 0;
|
Index number_of_transpositions = 0;
|
||||||
|
|
||||||
RealScalar biggest(0);
|
RealScalar biggest(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user