Skip to content

Allow LinearSolve v4#3815

Merged
ChrisRackauckas merged 2 commits into
masterfrom
linearsolve-v4-compat
Jul 5, 2026
Merged

Allow LinearSolve v4#3815
ChrisRackauckas merged 2 commits into
masterfrom
linearsolve-v4-compat

Conversation

@ChrisRackauckas

Copy link
Copy Markdown
Member

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 u0 shape for a matrix b changes from a flattened length-n vector to n×k, and (2) matrix-b + iterative solvers now error at init.

The #1072 downstream audit found OrdinaryDiffEq functionally unaffected: every call site passes _vec(...)/safe_vec-flattened vectors with explicit u0 (~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 RosenbrockTableaus
  • LinearSolve = "3""3, 4" in 2 test envs (Differentiation/test/sparse, NonlinearSolve/test/modelingtoolkit)
  • Patch version bump on each affected registered subpackage so this is registration-ready (test envs not bumped)

CI here will go green once LinearSolve v4.0.0 finishes propagating into the General registry.

🤖 Generated with Claude Code

ChrisRackauckas and others added 2 commits July 4, 2026 20:57
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>
@ChrisRackauckas ChrisRackauckas merged commit abdabd1 into master Jul 5, 2026
195 of 208 checks passed
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