Registered Member
|
In my windows MSVC (both 32bit and 64bit) this code made an infinite loop :
The loop is the inner while of JacobiSVD.h compute method. The documentation says :
(From http://eigen.tuxfamily.org/dox/classEigen_1_1JacobiSVD.html). |
Moderator
|
It's very dangerous to work with such high values that are very close to overflow. I guess this explain why it does not converge. Before a proper fix, I suggest you to apply scaling:
|
Registered Member
|
The source of those numbers is a bug (uninitialized memory), so I don't really need their svd decomposition, but infinite loop is unacceptable...
tnx. |
Moderator
|
fixed.
https://bitbucket.org/eigen/eigen/commits/9034caa3d917/ Changeset: 9034caa3d917 User: ggael Date: 2013-11-19 11:53:48 Summary: Add scaling in JacobiSVD to avoid overflows |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]