Registered Member
|
Hello,
I have a problem: K is a square sparse matrix (upper triangular)
the compiler says: WARNING!
error C2039: 'minimum_degree_ordering' : is not a member of 'Eigen::internal' error C3861: 'minimum_degree_ordering': identifier not found May you help me? |
Moderator
|
Maybe you have two conflicting installation of Eigen. Also, please check which Eigen version you are using.
|
Registered Member
|
I have a similar problem to the OP. I have tried using eigen 3.1.3 and 3.2beta and both the gnu and intel compilers.
Some example code:
If I compile with gnu I get:
whilst the intel compiler gives (specifying the -wd2196 flag to suppress some warnings) :
Any help would be much appreciated, thanks. |
Moderator
|
The problem is simply a missing include in SparseCholesky. In the meantime you can simply #include <Eigen/Sparse> to fix the issue (that's also why most people never seen this problem).
|
Moderator
|
for the record:
https://bitbucket.org/eigen/eigen/commits/a3c07164632c/ Changeset: a3c07164632c User: ggael Date: 2013-06-11 21:13:30 Summary: Add missing dependency in SparseSholesky header https://bitbucket.org/eigen/eigen/commits/215438987fe6/ Changeset: 215438987fe6 Branch: 3.1 User: ggael Date: 2013-06-11 21:13:30 Summary: Add missing dependency in SparseSholesky header (transplanted from a3c07164632c3fceea8b94ae5e2be73f2d72af61) |
Registered Member
|
Perfect, that's sorted it.
Many thanks. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]