Allow LinearSolve v4#1002
Merged
Merged
Conversation
LinearSolve v4.0.0 adds batched (matrix) right-hand side support (SciML/LinearSolve.jl#1072). NonlinearSolve is functionally unaffected — the one production solve site in NonlinearSolveBase passes a flattened vector — so this only widens compat to include v4 and bumps affected subpackage patch versions. (NonlinearSolveBase already at 2.31.4.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Widens `LinearSolve` compat to include v4 and bumps affected subpackage patch versions.
Context
LinearSolve v4.0.0 (SciML/LinearSolve.jl#1072) adds batched (matrix) right-hand side support. The only breaking aspects are (1) the
u0shape for a matrixbchanges from a flattened length-nvector ton×k, and (2) matrix-b+ iterative solvers now error atinit.The #1072 downstream audit found NonlinearSolve functionally unaffected: the one production solve site (in NonlinearSolveBase) passes a flattened vector. So this PR is compat-only.
Changes
LinearSolve = "3.48"→"3.48, 4"— top-level, NonlinearSolveBase,test/gpuLinearSolve = "2.36.1, 3"→"2.36.1, 3, 4"— NonlinearSolveFirstOrder, NonlinearSolveQuasiNewtonLinearSolve = "2, 3"→"2, 3, 4"—docs2.31.4(already one patch ahead of the registered2.31.3); its compat change rides that pending version. Test/docs envs not bumped.CI here will go green once LinearSolve v4.0.0 finishes propagating into the General registry.
🤖 Generated with Claude Code