diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2013-09-26 15:00:22 +0200 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2013-09-26 15:00:22 +0200 |
commit | 54e576c88af67aa2c8a66d95a104a4ffc5fd1985 (patch) | |
tree | 019a582ac27185a808eb095d5f24625943abaf6f /Eigen/src/SPQRSupport | |
parent | fe19f972e19b73a98c6e546a1521d47348128bac (diff) |
Fix SPQR Solve() when assigning to a Map object
Diffstat (limited to 'Eigen/src/SPQRSupport')
-rw-r--r-- | Eigen/src/SPQRSupport/SuiteSparseQRSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h b/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h index e1a320446..a2cc2a9e2 100644 --- a/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +++ b/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h @@ -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(); |