Repository navigation
Honor ImplicitEuler first-stage predictor - #3870
Closed
ChrisRackauckas-Claude wants to merge 1 commit into
Closed
ChrisRackauckas-Claude wants to merge 1 commit into
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]>
ChrisRackauckas-Claude
force-pushed
the
agent/fix-impliciteuler-predictor
branch
from
July 10, 2026 19:33
0337e4a to
0791ef4
Compare
Member
Author
|
Full local downstream verification completed on Julia 1.10.11: After the final rebase onto |
Member
Author
|
CI monitoring note: the PositiveIntegrators job did not report a test assertion. Its self-hosted runner lost communication after 1h8m6s, and GitHub has no log blob (404). The complete local run passed 125364/125364 but peaked at 8.53 GB RSS, which exceeds the runner profile used by the failing job. This is consistent with runner OOM/resource loss; the numerical regression itself is covered by the exact post-rebase pass. |
ChrisRackauckas
added a commit
that referenced
this pull request
Jul 12, 2026
…seed (#3879) Restore the public predictor selection for the implicit first stage of direct ImplicitEuler solves, regressed by #3694 which always used the linear `dt * fsalfirst` seed. `Trivial` now seeds z = 0, `Linear` seeds z = dt·f(uprev), and `MaxOrder` extrapolates the previous step's interpolant. BDF algorithms (e.g. ABDF2) that reuse the IE tableau via `cache.eulercache` without a `predictor` field keep the linear bootstrap seed through the `!hasproperty(alg, :predictor)` gate — provably the same seed as master. Also fix an out-of-place crash: the MaxOrder branch used the in-place `current_extrapolant!(u, …)`, which throws `fill!(::Float64, ::Float64)` for scalar/SVector out-of-place `u`. The out-of-place path now uses the non-mutating `current_extrapolant`. Add Trivial/Linear/MaxOrder regression coverage on both the in-place and out-of-place paths, and bump OrdinaryDiffEqSDIRK to v2.8.1. Combines and supersedes #3870 and #3873. 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.
Ignore this PR until reviewed by @ChrisRackauckas.
Summary
Predictor.Trivial,Predictor.Linear, andPredictor.MaxOrderwhen seeding the implicit first stage of directImplicitEulersolvesInvestigation
PositiveIntegrators downstream failed at
test/runtests.jl:1037for the stratospheric PDS withImplicitEuler(predictor = Predictor.Trivial): 125363 passed / 1 failed in run 29112034545.A clean
git bisectidentified67d9cd21942832c7da48044714d771ca7cc78183(#3694) as the first bad commit. That change made the IE-tableau path always use the lineardt * fsalfirstseed, overriding the public predictor selection. This targeted fix restores the pre-regression direct-IE semantics without changing the globalNLNewtontolerance discussed in #3855, and preserves #3694's ABDF2 bootstrap behavior.Local verification (Julia 1.10.11)
isapproxchecks passedPkg.test()for OrdinaryDiffEqSDIRK with the QA group excluded because of the independently reproduced master QA-environment leak: 57 tableau, 109 predictor, 102 convergence (+2 pre-existing broken), and 8 DAE tests passed--checkpassed on all changed Julia filesThe full PositiveIntegrators downstream suite passed locally: 125364/125364; see the follow-up comment for exact output.