This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 659

Summary: SPQR module: error: no matching function for call to ‘Eigen::Map<...
Product: Eigen Reporter: frfoust
Component: QRAssignee: Nobody <eigen.nobody>
Status: NEW ---    
Severity: Unknown CC: gael.guennebaud, jacob.benoit.1
Priority: Normal    
Version: 3.2   
Hardware: All   
OS: All   
Whiteboard:

Description frfoust 2013-09-19 03:08:54 UTC
I'm getting compilation problems when trying to use SPQR.  I'm having difficulty making a minimal reproduction, but the errors are of the form:

/usr/local/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h:142:12: error: no matching function for call to ‘Eigen::Map<Eigen::Matrix<double, -0x00000000000000001, 1>, 0, Eigen::Stride<0, 0> >::Map()’

I believe the problem may be in _solve in SuiteSparseQRSupport.h.  If I change:

Dest y;

To:

typename Dest::PlainObject y; 

It compiles and (seems) to work.
Comment 1 Nobody 2019-12-04 12:37:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/659.