-
Notifications
You must be signed in to change notification settings - Fork 43
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
cholesky accessor #81
Conversation
Alright, the tests pass locally for me, but the |
How do you feel about adding a method for |
bump? |
NOTE: I've added support for |
And another bump, this would be really nice to have. |
Actually, maybe also add it for |
@davidanthoff Should that return the cholesky of a |
7642320
to
ea1dc0c
Compare
I would think so? But @andreasnoack probably knows better. Now that I looked a bit more carefully at the package, I'm actually slightly confused. Why isn't |
Co-Authored-By: Andreas Noack <[email protected]>
Thanks @andreasnoack and @davidanthoff! |
Thank you! |
Oh, and one more thing: @andreasnoack could you also tag a new release? Thanks :) |
Should we say in the README that cholesky(A::AbstractPDMat) = cholesky(Matrix(A)) |
The more I think about this, the more I think |
So, unfortunetely, this broke support for Julia builds with Line 42 in 78cb506
|
I'm not sure I follow. How is it being used unconditionally now? Oh, is this because testutils is in src/ rather than test/? |
The problem is that the struct Line 33 in 78cb506
|
Potential solution: const PDMatType = if HAVE_CHOLMOD
Union{PDMat, PDiagMat, PDSparseMat}
else
Union{PDMat, PDiagMat}
end Then change the check to |
Adds support for a
cholesky
accessor method where appropriate. Related to JuliaStats/Distributions.jl#731.NOTE: Tests currently fail locally because of JuliaLinearAlgebra/Arpack.jl#12