-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Solving with sparse cholesky returns two-dimensional array #561
Comments
This is a bug and should be fixed. |
Yes, we must fix this. The culprit is probably in here:
|
I would like to work on this if nobody is currently working on it. |
Go for it. |
I think the problem is explicit conversion to Matrix in |
I believe the matrix and the vector cases need to be separated out. |
Something like this?? |
Probably. It needs to be tried out and all tests should pass. |
Yes that should work. While you are at it, please allow that |
Fixes #28985 (cherry picked from commit b451001)
Fixes #28985 (cherry picked from commit b451001)
In v1.0, using the Cholesky decomposition of a sparse array to solve a linear system for the transpose results in a two-dimensional array instead of a vector:
returns
By contrast,
C\b
(correctly) returns(The corresponding test for
Array(I,N,N)
throws aERROR: MethodError: no method matching adjoint(::Cholesky{Float64,Array{Float64,2}})
.)The text was updated successfully, but these errors were encountered: