mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Compilation fix: makeHousholderInPlace now uses references.
This commit is contained in:
@@ -150,7 +150,7 @@ void HessenbergDecomposition<MatrixType>::_compute(MatrixType& matA, CoeffVector
|
|||||||
int remainingSize = n-i-1;
|
int remainingSize = n-i-1;
|
||||||
RealScalar beta;
|
RealScalar beta;
|
||||||
Scalar h;
|
Scalar h;
|
||||||
matA.col(i).end(remainingSize).makeHouseholderInPlace(&h, &beta);
|
matA.col(i).end(remainingSize).makeHouseholderInPlace(h, beta);
|
||||||
matA.col(i).coeffRef(i+1) = beta;
|
matA.col(i).coeffRef(i+1) = beta;
|
||||||
hCoeffs.coeffRef(i) = h;
|
hCoeffs.coeffRef(i) = h;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user