aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SPQRSupport
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2013-09-26 15:00:22 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2013-09-26 15:00:22 +0200
commit54e576c88af67aa2c8a66d95a104a4ffc5fd1985 (patch)
tree019a582ac27185a808eb095d5f24625943abaf6f /Eigen/src/SPQRSupport
parentfe19f972e19b73a98c6e546a1521d47348128bac (diff)
Fix SPQR Solve() when assigning to a Map object
Diffstat (limited to 'Eigen/src/SPQRSupport')
-rw-r--r--Eigen/src/SPQRSupport/SuiteSparseQRSupport.h2
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();