Make HouseholderSequence::setTrans() protected (cf. bug #50).

Users can call .transpose() instead.
This commit is contained in:
Jitse Niesen
2011-01-06 11:30:19 +00:00
parent 934720c4ba
commit 2cc75f4922
3 changed files with 18 additions and 17 deletions

View File

@@ -484,8 +484,8 @@ struct solve_retval<ColPivHouseholderQR<_MatrixType>, Rhs>
// Note that the matrix Q = H_0^* H_1^*... so its inverse is Q^* = (H_0 H_1 ...)^T
c.applyOnTheLeft(householderSequence(dec().matrixQR(), dec().hCoeffs())
.setTrans(true)
.setLength(dec().nonzeroPivots())
.transpose()
);
dec().matrixQR()