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

@@ -104,7 +104,6 @@ template<typename MatrixType> void householder(const MatrixType& m)
HCoeffsVectorType hc = qr.hCoeffs().conjugate();
HouseholderSequence<MatrixType, HCoeffsVectorType> hseq(m2, hc);
hseq.setLength(hc.size()).setShift(shift);
VERIFY(hseq.trans() == false);
VERIFY(hseq.length() == hc.size());
VERIFY(hseq.shift() == shift);