-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
\
for square singular matrices
#939
Comments
I would much rather have an error thrown at me when the matrix is singular. If you want a least-squares solution you should, IMO, use |
I agree that a At the very least, this might be a good target for an error hint indicating that a manual |
Agreed, but I would prefer |
I don't think it is feasible to change the behavior of However, we might need to add an additional field to |
Ref. #554. |
Should we close as a duplicate of 28827? |
From this Discourse discussion.
The issue here is that
\
applies the LU decomposition to a square input but a pivoted QR to a rectangular input. The LU solver cannot handle singular inputs while QR can.A naive fix might just be to check the
lu(A)
call within\
and re-try withqr(A,ColumnNorm())
if it fails via singularity.The text was updated successfully, but these errors were encountered: