mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 06:31:47 +08:00
Fix SPQR Solve() when assigning to a Map object
(grafted from 54e576c88af67aa2c8a66d95a104a4ffc5fd1985 )
This commit is contained in:
parent
f5ed3421e9
commit
551d20a824
@ -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