-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
use julias ishermitian instead of CHOLMOD's #16554
Conversation
The |
|
Yes, so then it is already checking symmetry twice, no? Once in |
Kind of, but the check is extremely cheap, see Lines 1543 to 1545 in fe23b88
In any case, I think it would make sense to bypass the second check in your change by using |
I think we are talking past each other. My point is that we are not sending in the created Concretely, shouldn't it be |
I missed that. Indeed, it should have been |
Not at all, just wanted to make sure I didn't have a misunderstanding, :) Just doing julia> cholfact(Hermitian(A))
ERROR: MethodError: no method matching cholfact(::Hermitian{Float64,SparseMatrixCSC{Float64,Int64}} so I would need to do something like |
See Lines 1317 to 1318 in fe23b88
Right now it has to be |
Something like this then? |
Yes. Exactly. |
No point in coupling this file and CHOLMOD when we have a julia implementation of
ishermitian
. This is also faster. Not that it matters compared to the time in factorizing the matrix.