Skip to content
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

Fix UMFPACK to use check=false #474

Merged

Conversation

oscardssmith
Copy link
Contributor

@oscardssmith oscardssmith commented Feb 23, 2024

This prevents singular exceptions.

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

Copy link

codecov bot commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 65.98%. Comparing base (e23f5c7) to head (86e7191).

Files Patch % Lines
src/factorization.jl 83.33% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #474   +/-   ##
=======================================
  Coverage   65.98%   65.98%           
=======================================
  Files          27       27           
  Lines        2143     2146    +3     
=======================================
+ Hits         1414     1416    +2     
- Misses        729      730    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 42 to 43
prob = LinearProblem(A, ones(100))
solve(prob)
Copy link
Member

Choose a reason for hiding this comment

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

This only shows one solver. Can you make KLU and UMFPACK explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated. KLU is still broken (as far as I can see it still doesn't support disabling the checks).

Copy link
Member

Choose a reason for hiding this comment

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

@rayegun didn't you handle KLU.jl?

Copy link
Member

Choose a reason for hiding this comment

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

#456 (comment)

https://github.com/search?q=repo%3AJuliaSparse%2FKLU.jl%20check&type=code

You said you added check=false to klu but I don't see it in the repo. We can merge for now with this test failing but can you follow up with a test passing verison?

@ChrisRackauckas ChrisRackauckas merged commit fc5c14a into SciML:main Feb 24, 2024
14 of 16 checks passed
@oscardssmith oscardssmith deleted the remove-klu-and-umfpack-from-default branch February 26, 2024 13:54
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