Skip to content

Add DAE vector-abstol CheckInit regression test (#1214) - #4002

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:cr/vector-abstol-checkinit-test
Jul 24, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:cr/vector-abstol-checkinit-test

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

Related: #1214

Depends on SciMLBase PR #1464 (or a SciMLBase release containing exceeds_checkinit_abstol).

This PR should be ignored until reviewed by @ChrisRackauckas.

Test plan

  • Local (with SciMLBase fix): DABDF2/DFBDF/DImplicitEuler + vector abstol succeed
  • CI after SciMLBase bump

Default CheckInit used to MethodError on vector abstol; fixed in
SciMLBase (vector-weighted residual). Add full-stack regression with
DABDF2/DFBDF/DImplicitEuler.

Depends on SciMLBase PR with exceeds_checkinit_abstol.

Co-Authored-By: Chris Rackauckas <[email protected]>
Use 1.0e-6 form required by Runic format check.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 24, 2026 06:20
@ChrisRackauckas
ChrisRackauckas merged commit 3b503b2 into SciML:master Jul 24, 2026
118 of 130 checks passed
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Jul 24, 2026
1. test/InterfaceI/ode_initdt_tests.jl: close the missing `end` on the
   DAE reversed-tspan @testset introduced by SciML#4001/SciML#4000 merge (ParseError
   on InterfaceI Downgrade).

2. OrdinaryDiffEqAMF tests: use ROS34PW1a(linsolve=KrylovJL()) for dense
   reference solves with operator jac_prototype. Avoids SciMLOperators
   WOperator convert MethodError on AddedOperator/tensor-product graphs
   (upstream SciMLOperators#411 / v1.24.5) without materializing jac to
   Matrix (which hit ForwardDiff Dual Float64 conversion).

Note: BDF vector-abstol CheckInit (SciML#1214 / SciML#4002) still needs SciMLBase
>= 3.39 (unreleased; fix is SciMLBase#1464). TagBot triggered on that PR.

Co-Authored-By: Chris Rackauckas <[email protected]>
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Jul 24, 2026
SciML#1214/SciML#4002 requires SciMLBase exceeds_checkinit_abstol (3.39+,
SciMLBase#1464). That version is pending General registry (PR #162199;
AutoMerge blocked on intentional 3.37→3.39 skip).

Until the floor can be raised, document the pre-3.39 MethodError with
@test_throws and exercise the real success path once SciMLBase >= 3.39.

Co-Authored-By: Chris Rackauckas <[email protected]>
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Jul 24, 2026
SciMLBase 3.39 (General#162199) adds exceeds_checkinit_abstol so vector
abstol no longer MethodErrors in CheckInit (SciMLBase#1464). Required for
OrdinaryDiffEqBDF Downgrade Sublibraries after SciML#4002 added the regression
test. Monorepo-wide floor 3.37 → 3.39 (docs 3.35.1 → 3.39).

Also restore the BDF vector-abstol test to always exercise the success path.

Co-Authored-By: Chris Rackauckas <[email protected]>
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