mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-12 09:23:12 +08:00
Fix SPQR Solve() when assigning to a Map object
This commit is contained in:
parent
fe19f972e1
commit
54e576c88a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user