You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was reported (and supposedly fixed by dubois) in 2002, but the fix isn't in current code. So reporting again....
The routine singular_value_decomposition() sometimes
dies with the error "SVD did not converge". But there is always (by definition) an SVD inverse, so this is not an
acceptable error message.
Tracing things back, it comes from an max_iteration
count that is too small in the file dlapack_lite.c. For the
latest version, it's on line 22562. When I change the
value from 20 to 50, my matrix can be inverted. There's
no reason to have this number so small, since it's really
just there to prevent infinite loops. I've changed it (in my
copy) to 100, and recommend you do the same.
I'm attaching a pickle of a matrix I used for testing
purposes.
Damian
The text was updated successfully, but these errors were encountered:
It certainly shouldn't be hardwired in as 20. At minimum it should be a #define, and ideally it should be passed in with the function call, but I don't know if the interface allows that.
Original ticket http://projects.scipy.org/numpy/ticket/706 on 2008-03-19 by trac user menscher, assigned to @stefanv.
This was reported (and supposedly fixed by dubois) in 2002, but the fix isn't in current code. So reporting again....
The routine singular_value_decomposition() sometimes
dies with the error "SVD did not converge". But there is
always (by definition) an SVD inverse, so this is not an
acceptable error message.
Tracing things back, it comes from an max_iteration
count that is too small in the file dlapack_lite.c. For the
latest version, it's on line 22562. When I change the
value from 20 to 50, my matrix can be inverted. There's
no reason to have this number so small, since it's really
just there to prevent infinite loops. I've changed it (in my
copy) to 100, and recommend you do the same.
I'm attaching a pickle of a matrix I used for testing
purposes.
Damian
The text was updated successfully, but these errors were encountered: