Skip to content

Fix type instability in LinearSolve QR factorization fallback#624

Merged
ChrisRackauckas merged 3 commits into
masterfrom
columnpivot
May 26, 2025
Merged

Fix type instability in LinearSolve QR factorization fallback#624
ChrisRackauckas merged 3 commits into
masterfrom
columnpivot

Conversation

@ChrisRackauckas

Copy link
Copy Markdown
Member

Requires SciML/LinearSolve.jl#617

This now uses the DefaultLinearSolver sum type in order to do the QR factorization fallback. This removes the additional_lincache which was ::Any. This fixes a core type instability on the LinearSolveResult that was causing a pretty decently large slow down to the Newton methods. This also makes it so if the user specifically says they want LU, it don't do anything different.

Requires SciML/LinearSolve.jl#617

This now uses the DefaultLinearSolver sum type in order to do the QR factorization fallback. This removes the `additional_lincache` which was `::Any`. This fixes a core type instability on the `LinearSolveResult` that was causing a pretty decently large slow down to the Newton methods. This also makes it so if the user specifically says they want LU, it don't do anything different.
@ChrisRackauckas ChrisRackauckas merged commit 022e96f into master May 26, 2025
64 of 88 checks passed
@ChrisRackauckas ChrisRackauckas deleted the columnpivot branch May 26, 2025 21:17
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.

1 participant