Skip to content

Fix master CI: import OrdinaryDiffEq sub-packages explicitly#367

Draft
ChrisRackauckas-Claude wants to merge 1 commit intoSciML:mainfrom
ChrisRackauckas-Claude:fix-master-solver-imports
Draft

Fix master CI: import OrdinaryDiffEq sub-packages explicitly#367
ChrisRackauckas-Claude wants to merge 1 commit intoSciML:mainfrom
ChrisRackauckas-Claude:fix-master-solver-imports

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

After OrdinaryDiffEq v7's split into sub-packages, Rodas4 and Rodas5 are no longer in scope from a bare using DifferentialEquations (which now just re-exports the OrdinaryDiffEq shell). Import OrdinaryDiffEqRosenbrock explicitly so the downstream test in test/downstream/diffeq_tests.jl resolves them.

Master CI on this repo has been red since the OrdinaryDiffEq v7 ecosystem-bump merge. This PR resolves the UndefVarError: Rodas4 not defined and UndefVarError: Rodas5 not defined failures (Issues 55 and 36).

Note: after the import is fixed, one separate pre-existing master failure remains (NOT introduced by this PR): the Performance / Issue 36 testset hits ArgumentError: Passing a Bool for keyword argument autodiff is no longer supported. Use an ADType specifier from ADTypes.jl, e.g. AutoForwardDiff() or AutoFiniteDiff(). The test calls Rodas5(autodiff = false), which needs to be updated to Rodas5(autodiff = AutoFiniteDiff()). Out of scope for this PR per task constraints.

Ignore until reviewed by @ChrisRackauckas.

After OrdinaryDiffEq v7's split into sub-packages, `Rodas4`, `Rodas5`,
and other Rosenbrock solvers are no longer in scope from a bare
`using DifferentialEquations` (which re-exports the OrdinaryDiffEq
shell). Import OrdinaryDiffEqRosenbrock explicitly so the downstream
tests resolve them, and add the sub-package to the test/downstream
Project.toml deps.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
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.

2 participants