Repository navigation
Route OOP initdt NaN checks through DiffEqBase.NAN_CHECK (#1404) - #4000
Merged
ChrisRackauckas merged 2 commits intoJul 24, 2026
Merged
ChrisRackauckas merged 2 commits into
ChrisRackauckas merged 2 commits into
Conversation
The OOP Hairer–Wanner path used nested `any(x -> any(isnan, x), f₀)`, which custom array/field types cannot overload. Replace with `DiffEqBase.NAN_CHECK` (and `isnan(d₁)` for AD partials), matching the IIP intent and fixing OrdinaryDiffEq SciML#1404. Co-Authored-By: Chris Rackauckas <[email protected]>
Closed
Master SciML#3989 introduced scc_hom variable names that typos flags as "hom" → "home". Allow the intentional abbreviation. Co-Authored-By: Chris Rackauckas <[email protected]>
Member
Author
CI babysit (wave3/ode_ci_a)PR-caused failures: none found. Local OOP Pushed: Remaining failures (pre-existing):
This PR should be ignored until reviewed by @ChrisRackauckas. |
ChrisRackauckas
marked this pull request as ready for review
July 24, 2026 06:08
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]>
This was referenced Jul 24, 2026
ChrisRackauckas
added a commit
that referenced
this pull request
Jul 25, 2026
#4004 added `hom` under "Technical variable names" (line 72) and #4000 added it again at the end of the file (line 149). TOML forbids duplicate keys, so typos cannot read its own config and bails out before checking anything: TOML parse error at line 149, column 1 | 149 | hom = "hom" # scc_hom homotopy abbreviation in NonlinearSolve tests (#3989) | ^^^ duplicate key Remove the later entry — the line 72 declaration already covers the `scc_hom` variables — and leave a pointer in its place, matching how the file already notes the same situation for `Numer`. Co-authored-by: ChrisRackauckas-Claude <[email protected]>
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.
Summary
initdtusedany(x -> any(isnan, x), f₀), which custom array/field types cannot overload.DiffEqBase.NAN_CHECK(andisnan(d₁)for AD partials), aligning with the IIP intent.tdir * dtminon NaN (previously only warned and continued).Fixes #1404
This PR should be ignored until reviewed by @ChrisRackauckas.
Test plan
f -> [NaN]exits without MethodError