Fix SPQR Solve() when assigning to a Map object

This commit is contained in:
Desire NUENTSA 2013-09-26 15:00:22 +02:00
parent fe19f972e1
commit 54e576c88a

View File

@ -147,7 +147,7 @@ class SPQR
eigen_assert(b.cols()==1 && "This method is for vectors only");
//Compute Q^T * b
Dest y;
typename Dest::PlainObject y;
y = matrixQ().transpose() * b;
// Solves with the triangular matrix R
Index rk = this->rank();