We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See #84 (comment)
A common pattern in the Slycot code is
e = ValueError('the number of eigenvalues to be assigned is less than the number of possibly assignable eigenvalues') e.info = info raise e
The idea is to have a SlycotError class, so that this can be:
raise SlycotError(msg, info)
instead - that way one can't forget the .info attribute.
I'd have had SlycotError inherit from RuntimeError, but for backward compatibility it should probably be ValueError.
SlycotError
RuntimeError
ValueError
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
See #84 (comment)
A common pattern in the Slycot code is
The idea is to have a SlycotError class, so that this can be:
instead - that way one can't forget the .info attribute.
I'd have had
SlycotError
inherit fromRuntimeError
, but for backward compatibility it should probably beValueError
.The text was updated successfully, but these errors were encountered: