Skip to content

Fix cholesky_instance for symmetric sparse #417

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

Merged
merged 3 commits into from
May 31, 2023
Merged

Fix cholesky_instance for symmetric sparse #417

merged 3 commits into from
May 31, 2023

Conversation

ChrisRackauckas
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Merging #417 (72f4524) into master (93d728f) will decrease coverage by 9.83%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #417      +/-   ##
==========================================
- Coverage   75.66%   65.83%   -9.83%     
==========================================
  Files           7        7              
  Lines         563      562       -1     
==========================================
- Hits          426      370      -56     
- Misses        137      192      +55     
Impacted Files Coverage Δ
src/ArrayInterface.jl 59.15% <50.00%> (-8.21%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -476,7 +476,7 @@ cheaply.
function cholesky_instance(A::Matrix{T}, pivot = LinearAlgebra.RowMaximum()) where {T}
return cholesky(similar(A, 0, 0), pivot, check = false)
Copy link
Collaborator

@chriselrod chriselrod May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about the sparse case, but it normally isn't necessary to pivot dense cholesky factorizations.

@ChrisRackauckas ChrisRackauckas merged commit 727f4e7 into master May 31, 2023
@ChrisRackauckas ChrisRackauckas deleted the chol branch May 31, 2023 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants