Skip to content

fix: UndefVarError in reinit!(::CoupledSDEs) on StochasticDiffEqCore 2.0.3 - #265

Merged
Datseris merged 2 commits into
JuliaDynamics:mainfrom
oameye:fix-setup-next-step
Jul 29, 2026
Merged

fix: UndefVarError in reinit!(::CoupledSDEs) on StochasticDiffEqCore 2.0.3#265
Datseris merged 2 commits into
JuliaDynamics:mainfrom
oameye:fix-setup-next-step

Conversation

@oameye

@oameye oameye commented Jul 28, 2026

Copy link
Copy Markdown
Member

No description provided.

`setup_next_step!` belongs to DiffEqNoiseProcess; StochasticDiffEqCore only
adds an `SDEIntegrator` method to it. Through 2.0.2 it did a blanket
`using DiffEqNoiseProcess`, leaving the name reachable as
`StochasticDiffEqCore.setup_next_step!`, which is where we imported it from.
2.0.3 narrowed that to a selective import that omits it, so on Julia 1.12 the
import warns at precompile and `reinit!(::CoupledSDEs)` throws
`UndefVarError` at runtime, taking `trajectory` down with it.

The tests hit the same class of break independently: `None` came from
`OrdinaryDiffEqTsit5.OrdinaryDiffEqCore`, and OrdinaryDiffEqCore dropped it
from its `using SciMLLogging: ...` list in 4.6.0. Taken from SciMLLogging now.
@codecov-commenter

codecov-commenter commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82.99%. Comparing base (6c98239) to head (28a5e61).
⚠️ Report is 72 commits behind head on main.

Files with missing lines Patch % Lines
src/core_systems/continuous_time_ode.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
+ Coverage   82.00%   82.99%   +0.98%     
==========================================
  Files          15       15              
  Lines         717      976     +259     
==========================================
+ Hits          588      810     +222     
- Misses        129      166      +37     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Datseris
Datseris merged commit 56ab5e8 into JuliaDynamics:main Jul 29, 2026
3 checks passed
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.

3 participants