Compilation fix: makeHousholderInPlace now uses references.

This commit is contained in:
Jitse Niesen 2009-11-11 16:23:09 +00:00
parent bf691cc3f1
commit 343eec7ca8

View File

@ -150,7 +150,7 @@ void HessenbergDecomposition<MatrixType>::_compute(MatrixType& matA, CoeffVector
int remainingSize = n-i-1;
RealScalar beta;
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;
hCoeffs.coeffRef(i) = h;