Skip to content

Build BDF's JET test problems with FullSpecialize - #4627

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:bdf-jet-fullspecialize
Sep 26, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:bdf-jet-fullspecialize

Conversation

@singhharsh1708

Copy link
Copy Markdown
Member

BDF's JET checks now build their test problems with FullSpecialize, as the NonlinearSolve and StabilizedRK JET tests already do, which turns the OrdinaryDiffEqBDF [QA] lane green again.
Since #4376, the default specialization on Julia 1.12+ erases callback types on purpose, so init on an AutoSpecialize problem goes through _despecialize_callbacks! and initialize!(::CallbackSet) with runtime dispatch. The 17 @test_opt init(...) checks that assert type stability have failed on every master run of that lane since it merged.
On Julia 1.13 with JET 0.12.2 the file goes from 1 passed and 17 failed to 18 passed, with the same 23 broken and no unexpected passes, so BDF's own init path is still type-stable.
The split problem wraps both parts in ODEFunction{false, FullSpecialize}, as SplitFunction's default constructor does, since SBDF reads f.f1.f. Test-only, so no version bump.
AI Disclosure: Claude assisted with this change.

@ChrisRackauckas
ChrisRackauckas merged commit f9ce35d into SciML:master Sep 26, 2026
130 of 133 checks passed
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.
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.

2 participants