Repository navigation
Let Trapezoid keep non-diagonal mass matrices - #4631
Merged
ChrisRackauckas merged 1 commit intoSep 26, 2026
Merged
Conversation
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/OrdinaryDiffEq.jl
that referenced
this pull request
Sep 26, 2026
Bring in Trapezoid non-diagonal mass-matrix support (SciML#4631), BDF JET FullSpecialize (SciML#4627), and other master fixes needed for Sublibrary CI.
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/OrdinaryDiffEq.jl
that referenced
this pull request
Sep 27, 2026
The broader sibling [sources] block made the downgrade job resolve local Core/BDF/FIRK/Rosenbrock/Differentiation/DevTools/DiffEqBase (PR head code) against downgraded registry deps, and nsa_stats_tests.jl:91 failed under Julia 1.11 (1.28235 <= 1.26195). Master's NonlinearSolve Project.toml has no [sources] and that downgrade stays green. Path-source only SDIRK, which the Trapezoid DAE tests need for in-tree SciML#4631 before that release is in General; nsa_stats passes 39/39 locally with this package selection. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: opencode <[email protected]> Agent-Harness: opencode 1.18.31 Agent-Model: opencode/longcat-2.5-preview-free Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/OrdinaryDiffEq.jl/jobs/4436-opencode/log.txt on amdci2.julia.csail.mit.edu
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/OrdinaryDiffEq.jl
that referenced
this pull request
Sep 27, 2026
Master's NonlinearSolve Project.toml has no [sources] block; the block added in 080d4c1 makes the downgrade job resolve local siblings against downgraded deps and fails nsa_stats_tests.jl:91 under Julia 1.11, and narrowing it to SDIRK makes the downgrade job unresolvable (local SDIRK 2.9.7 vs downgrade-pinned BDF 2.0.0). With no [sources] the downgrade job resolves registry packages as on master. The regular NonlinearSolve Core job then uses registry SDIRK 2.9.6, which lacks SciML#4631; the Trapezoid mass-matrix and nsa_noinit failures that produces are master-latent (see CI triage in the PR body). Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: opencode <[email protected]> Agent-Harness: opencode 1.18.31 Agent-Model: opencode/longcat-2.5-preview-free Agent-Session: local session, transcript at /home/crackauc/sandbox/agent-jobs/OrdinaryDiffEq.jl/jobs/4436-opencode/log.txt on amdci2.julia.csail.mit.edu
This was referenced Sep 27, 2026
ChrisRackauckas
referenced
this pull request
Sep 29, 2026
* Bump DiffEqBase to 7.21.3 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqBDF to 2.4.12 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqSDIRK to 2.9.7 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqRosenbrock to 2.7.5 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqLowOrderRK to 2.2.6 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqTsit5 to 2.1.5 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqVerner to 2.4.2 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json * Bump OrdinaryDiffEqSymplecticRK to 2.2.3 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin CLI 3000.11.3 (Mac) Agent-Model: Fusion (claude-opus-5-5 medium + swe-2 medium) Agent-Session: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json --------- Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.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.
Trapezoidtakes non-diagonal mass matrices again.OrdinaryDiffEqNonlinearSolve's mass-matrix exactness tests have errored with "Trapezoid only works with diagonal mass matrices" since #4560, which keeps its Core lane red; locally that file now passes in full.#4560 restricts explicit-first-stage methods to diagonal
Mbecause the generic ESDIRK step recoversz₁from the FSAL elementwise. Trapezoid never runs that step: its:trap_dd3body builds the stage equation fromM * uprevand the FSAL, which is exact for anyM.On
M u' = f(u, t)with a non-diagonalMand a generalf, Trapezoid matchesu' = M \ fto 4.5e-15 at order 2, as it did before #4560. TRBDF2 and Kvaerno3 are first order on the same problem, so they keep the restriction.For the mass matrices master already accepts, solutions are bit-identical, and fixed-step Trapezoid stops re-evaluating its FSAL every step (19 fewer
fcalls per 20 steps), since that FSAL is already an explicitf(u).Trapezoid joins the implicit-first-stage SDIRKs in the non-diagonal test (order 2.0; both of its assertions fail on master), and the consistency test expects the trait only on tableaus that take the generic step.
AI Disclosure: Claude assisted with this change.