Allow LinearSolve v4#3815
Merged
Merged
Conversation
LinearSolve v4.0.0 adds batched (matrix) right-hand side support (SciML/LinearSolve.jl#1072). OrdinaryDiffEq is functionally unaffected — all call sites pass flattened vectors with explicit u0 — so this only widens compat to include v4 and bumps affected subpackage patch versions. 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 across the affected subpackages and bumps their 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 OrdinaryDiffEq functionally unaffected: every call site passes
_vec(...)/safe_vec-flattened vectors with explicitu0(~60 sites audited across the OrdinaryDiffEq libs). So this PR is compat-only.Changes
LinearSolve = "3.75.0"→"3.75.0, 4"in 10 subpackages (ExponentialRK, Differentiation, Default, Rosenbrock, AMF, DelayDiffEq, BDF, FIRK, NonlinearSolve, Extrapolation)LinearSolve = "3.46"→"3.46, 4"in RosenbrockTableausLinearSolve = "3"→"3, 4"in 2 test envs (Differentiation/test/sparse, NonlinearSolve/test/modelingtoolkit)CI here will go green once LinearSolve v4.0.0 finishes propagating into the General registry.
🤖 Generated with Claude Code