Skip to content

Overload lu_instance to it generates LU{ComponentMatrix} #121

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 1 commit into from
Mar 5, 2022

Conversation

ChrisRackauckas
Copy link
Member

@ChrisRackauckas ChrisRackauckas commented Mar 5, 2022

The fallback of similar(A,0,0) gives a Matrix instead of a ComponentMatrix. This fixes that to make the types correct for LU-factorization returns. Fixes SciML/DifferentialEquations.jl#849

The fallback of `similar(A,0,0)` gives a `Matrix` instead of a ComponentMatrix. This fixes that to make the types correct for LU-factorization returns.
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2022

Codecov Report

Merging #121 (8a833d9) into master (2abf21c) will decrease coverage by 0.94%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
- Coverage   75.99%   75.04%   -0.95%     
==========================================
  Files          19       19              
  Lines         554      561       +7     
==========================================
  Hits          421      421              
- Misses        133      140       +7     
Impacted Files Coverage Δ
src/array_interface.jl 80.45% <0.00%> (-4.47%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2abf21c...8a833d9. Read the comment docs.

@jonniedie jonniedie merged commit a40d163 into SciML:master Mar 5, 2022
@jonniedie
Copy link
Collaborator

Awesome, thanks for this!

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.

Incorrect cache types for stiff solvers
3 participants