-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
SingularException
when dividing lu
on zero-dimensional matrices of some generic types
#1055
Comments
The line causing the exception on the latest master 71f68b4c is as follows: |
@lukas-weber Could you please post the full stacktraces and a copy-pastable code example for the complex Dual case. One possibility is to catch this case earlier at the |
Perhaps it's better to solve it in triangular solve as it will also be solved for the vanilla |
They are added now. Sorry for the inconvenience! |
Many parts of julia linear algebra handle empty matrices gracefully, which is helpful when writing codes where they appear as a corner case. However, dividing LU-decompositions of generic numbers will yield a SingularException instead.
It is worth noting that doing the same with complex Dual numbers on 1.10.1 will lead to segfaults as well. In the nightly, I was not able to reproduce that so I assume it has been fixed.
The text was updated successfully, but these errors were encountered: