New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vendored ARPACK fails to converge #1990
Comments
For reference, the bad matrix triggering the instability is the following:
|
I've been looking at it a bit, it seems that setting
instead of
also alleviates the problem (and so keeping the original "bad" matrix). I am not exactly sure why this would cause this issue, but perhaps there's some issue with non-matching eigenvectors and eigenvalues for complex conjugate pairs? |
I have looked into this a bit further, and I can't figure out what the problem could be. The incorrect eigenvectors only appear when using The resulting vectors when using When setting The problem is especially annoying since it of course only appears with the vendored library. It seems that all is working correctly from |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
This issue should have a minimal example attached. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
It should be tested whether this problem is still present. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
The
igraph_arpack_rnsolve
test will fail when theA
matrix is filled with random integers between -10 and 10:https://github.com/igraph/igraph/blob/master/tests/unit/igraph_arpack_rnsolve.c#L140
Output:
This came to light after fixing the random integer generator, #1989.
External ARPACK 3.8 does work correctly.
For now, I "fixed" the test by changing the -10..10 range to -12..12, but this is really just hiding the problem. This is likely related to #1641.
The text was updated successfully, but these errors were encountered: