This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1149 - Pastix(LDLT/LLT/LU).(i/d)parm() does not compile
Summary: Pastix(LDLT/LLT/LU).(i/d)parm() does not compile
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: Normal Compilation Problem
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 14:15 UTC by fabien chêne
Modified: 2019-12-04 15:21 UTC (History)
2 users (show)



Attachments

Description fabien chêne 2016-01-20 14:15:39 UTC
#include <Eigen/PaStiXSupport>

template <class SOLVER>
void f()
{
    SOLVER solver;
    solver.iparm();
    solver.dparm();
}

template void f<PastixSolverLDLT>();
template void f<PastixSolverLLT>();
template void f<PastixSolverLU>();

The code above does not compile, it results in the following error messages, for the three decompositions and both iparm and dparm.

error: invalid initialization of reference of type ‘Eigen::Array<int, 128, 1, 0, 128, 1>&’ from expression of type ‘Eigen::Matrix<int, 128, 1>’
       return m_iparm; 

error: invalid initialization of reference of type ‘Eigen::Array<double, 128, 1, 0, 128, 1>&’ from expression of type ‘Eigen::Matrix<double, 64, 1>’
       return m_dparm;
Comment 1 Gael Guennebaud 2016-01-20 18:02:07 UTC
https://bitbucket.org/eigen/eigen/commits/5e21a9ed6231/
Comment 2 Nobody 2019-12-04 15:21:12 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/1149.

Note You need to log in before you can comment on or make changes to this bug.