Repository navigation
Add implicit Taylor solvers requiring TaylorSeries 2.4 - #4592
Merged
oscardssmith merged 4 commits intoSep 25, 2026
Merged
Conversation
oscardssmith
approved these changes
Sep 25, 2026
oscardssmith
marked this pull request as ready for review
September 25, 2026 19:01
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>
ranocha
reviewed
Sep 30, 2026
Comment on lines
+1220
to
+1225
| if integrator.opts.adaptive && integrator.t isa AbstractFloat && dtnew isa AbstractFloat | ||
| # Use the same interval for the state update and the floating-point clock. | ||
| # Otherwise, rounding t + dt can accumulate a drift in the integrated time. | ||
| dtnew = integrator.tdir * abs(dtnew) | ||
| dtnew = (integrator.t + dtnew) - integrator.t | ||
| end |
Member
There was a problem hiding this comment.
Could you please explain why this change was necessary and which issue it fixed?
This was referenced Oct 2, 2026
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/OrdinaryDiffEq.jl
that referenced
this pull request
Oct 7, 2026
…ment The clock alignment added in 498c765 (SciML#4592) snaps the proposed step so t + dt lands exactly on the floating-point grid, perturbing dt by up to one ulp of t. Delay-integrator lag and discontinuity bookkeeping is tied to the un-shifted step size; on the RADAR5 Waltman problem the perturbed trajectory diverges (u ~ 1e178 feeds a ~5e-21 lag denominator, the Jacobian goes non-finite, and GenericFactorization(lu!) throws "matrix contains Infs or NaNs"). This made lib/DelayDiffEq GROUP=Regression fail under Pkg.test / CI, which run with --check-bounds=yes. Exempt AbstractDDEIntegrator from the alignment, matching the multistep carve-out of SciML#4651; ODE integrators are unchanged. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <[email protected]> Agent-Harness: Devin CLI 3000.11.3 Agent-Model: swe-2-high Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/qa-hygiene/jobs/dde-waltman/log.txt on amdci2
This was referenced Oct 13, 2026
5 tasks
ChrisRackauckas
added a commit
that referenced
this pull request
Nov 17, 2026
* DelayDiffEq: exempt DDE integrators from calc_dt_propose! clock alignment The clock alignment added in 498c765 (#4592) snaps the proposed step so t + dt lands exactly on the floating-point grid, perturbing dt by up to one ulp of t. Delay-integrator lag and discontinuity bookkeeping is tied to the un-shifted step size; on the RADAR5 Waltman problem the perturbed trajectory diverges (u ~ 1e178 feeds a ~5e-21 lag denominator, the Jacobian goes non-finite, and GenericFactorization(lu!) throws "matrix contains Infs or NaNs"). This made lib/DelayDiffEq GROUP=Regression fail under Pkg.test / CI, which run with --check-bounds=yes. Exempt AbstractDDEIntegrator from the alignment, matching the multistep carve-out of #4651; ODE integrators are unchanged. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <[email protected]> Agent-Harness: Devin CLI 3000.11.3 Agent-Model: swe-2-high Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/qa-hygiene/jobs/dde-waltman/log.txt on amdci2 * Restore aligned clock intervals for adaptive DDE steps Remove the DDE exemption from adaptive step alignment. The analytic large-origin controls fail with accumulated drift before this correction, and the unchanged Waltman test changes from 2/26 to 26/26 passing. Add analytic delayed-history and independent-integrator state coverage to the official Regression group. DelayDiffEq Regression and QA, Core functional tests, Runic and typos pass locally. Core QA encounters an inotify EMFILE resource error that also reproduces on clean latest default and in a standalone OS probe. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Codex <[email protected]> Agent-Harness: Codex CLI 0.163.0 Agent-Model: gpt-6.1-sol Agent-Session: local session 01a15cce-5c97-7b23-a6f0-e11b87e67806 (no session URL) --------- Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: Devin <[email protected]> Co-authored-by: Codex <[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.
Adds
OrdinaryDiffEqTaylorSeriesImplicitwith μ-Taylor and Taylor–Padé methods. It requiresOrdinaryDiffEqTaylorSeries = "2.4.0"forbuild_polynomial; the prerequisite was merged in #4006 and version 2.4.0 is released. The branch includes that prerequisite from master, so the local TaylorSeries source agrees with the compatibility range during normal and downgrade resolution.Removes the unused
FastConvergenceandVerySlowConvergenceimports from OrdinaryDiffEqNonlinearSolve, which prevented the package from loading on Julia 1.10 LTS. Includes the existing OrdinaryDiffEqCore adjustment that aligns adaptive step proposals with representable floating-point time increments, improving the accuracy of the reference solve used by the convergence checks.Updates the root QA package count from 42 to 43 to include the new implicit subpackage in the MuladdMacro compatibility audit. All 43 packages meet the required version floor. The four original implicit test cases, step sizes, tolerances, and expected orders are unchanged.
Validation:
791095796). Runic andgit diff --checkpass.48d096b07) passes current-Julia Core CI, Julia 1.10 LTS CI, implicit QA CI, and downgrade CI on Julia 1.11. LTS and downgrade logs each confirm 4/4 convergence tests passed; downgrade uses TaylorSeries 2.4.0 and LinearSolve 5.15.0.Pkg.test: 4/4 pass with coverage and bounds checks.DiffEqBase's repository-wide Julia 1.11 callback-normalization failure in
high_level_solve.jlis addressed separately in #4593, which has not yet merged.