You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import ReturnCode in independentlylinearizedtests.jl (fixes Core test group) (#317)
* Import ReturnCode in independentlylinearizedtests.jl
The SciMLTesting v1.2 folder-based harness (#316) runs each test file in
its own isolated module. `independentlylinearizedtests.jl` references
`ReturnCode.Default` but never imported `ReturnCode`; previously it leaked
in from `periodic_tests.jl` because all files shared one module. Import it
explicitly from SciMLBase, matching the existing pattern in periodic_tests.jl.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Make integrating_GK_sum_tests.jl self-contained (fixes Core test group)
Under the SciMLTesting v1.2 per-file isolated-module harness, the linear-
system helpers (simple_linear_system, adjoint_linear[_inplace],
analytical_derivative, callback_saving_linear[_inplace], compute_dGdp) are
no longer leaked in from integrating_GK_tests.jl, so the file errored with
`UndefVarError: `simple_linear_system` not defined`. Define the helpers it
uses inline, matching the self-contained pattern of the other Core files.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Read integrator error estimate without the removed EEst field
OrdinaryDiffEqCore's ODEIntegrator no longer exposes an `EEst` field; the
scalar error estimate now lives on the controller cache
(`integrator.controller_cache.EEst`, surfaced there as `get_EEst`). Reading
`integrator.EEst` directly threw `FieldError: type ODEIntegrator has no field
EEst`, breaking `AdaptiveProbIntsUncertainty` (src/probints.jl, exercised by
the Core group's probints.jl) and the AD group's saving_tracker_tests.jl.
Add a dependency-free `_integrator_EEst` accessor that uses the `EEst` field
when present (older integrators / SDE integrators) and otherwise reads it off
the controller cache, keeping DiffEqCallbacks free of an OrdinaryDiffEqCore
dependency while supporting both layouts. Apply the same fallback in the AD
test.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments