-
Notifications
You must be signed in to change notification settings - Fork 131
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
Silence error while solving the eigenvalues of a 2-by-2 matrix. #158
Comments
An exception |
I am using the visual studio 2022 compiler, which does not show any message. |
It depends on how the compiler handles the exception, but indeed the program will terminate due to the error. You can explicitly use try-catch statements to detect such exceptions. |
include/Spectra/JDSymEigsBase.h
It seems that it is n-1 in the code. |
I think you were using |
The below code failed to obtain the eigenvalues for a 2-by-2 sparse matrix. At least an error message should pop up. (version 1.01)
The text was updated successfully, but these errors were encountered: