Registered Member
|
Hey I'm not sure what is wrong with my code. Factorization is not working for me so I created a small mini sample:
I tried to factorize the matrix of the PartialPivLU sample and after that a simple identity always getting errors :/ Edit: I tried using SparseQR instead which worked fine. Can somebody explain where the problem with LU is? It requires a squared and invertible matrix, right? Some other properties?
and this is the output:
|
Moderator
|
Works for me:
What's your compiler? compiler version? compiler flags? Eigen version? Make sure your are using the latest 3.2.1 release. |
Registered Member
|
noticed that i was working with an outdated version.. sorry for bothering.. |
Registered Member
|
I'm having trouble compiling the following code:
Using head of brach 3.2.0 (node 5e8f592c3314) and MSVC2013 Edit: try with real head (forgot to update Eigen subrepo) same problem with node c57e23d06e4b The same code with SparseQR works. |
Registered Member
|
I also tried to compile the code of the first post, I get similar compile error.
|
Moderator
|
Do you have the same compilation error with the default branch? I do see compilation issues with MSVC, but not the ones you are reporting. Also, what about the official 3.2.2 release? (that one has been checked with MSVC)
|
Registered Member
|
Just tried nodes a8e0d153fc5e (default) and b442b2312b69 (3.2.2 tag). Same result.
I can PM you the compile error details. |
Registered Member
|
Ah! I just installed visual s't'idiot update 3 (was update 2). it appear to have solved the problem.
Désolé, Maxime |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]