Skip to content

Commit bf8f996

Browse files
Fix resize_tests.jl by switching to DiffEqBase.OrdinaryDiffEqTag
- Replace SciMLBase.OrdinaryDiffEqTag with DiffEqBase.OrdinaryDiffEqTag - This fixes test failures where OrdinaryDiffEqTag was moved to DiffEqBase - DiffEqBase is already imported in the test file 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 91c4d15 commit bf8f996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integrators/resize_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ resize!(i, 5)
3636
@test length(i.cache.nlsolver.cache.weight) == 5
3737
@test all(size(DI.jacobian(
3838
(du, u) -> (i.f(du, u, nothing, nothing)), rand(5), i.cache.nlsolver.cache.jac_config[1],
39-
AutoForwardDiff(tag = ForwardDiff.Tag(SciMLBase.OrdinaryDiffEqTag(), Float64)), rand(5))) .==
39+
AutoForwardDiff(tag = ForwardDiff.Tag(DiffEqBase.OrdinaryDiffEqTag(), Float64)), rand(5))) .==
4040
5)
4141
solve!(i)
4242

@@ -81,7 +81,7 @@ resize!(i, 5)
8181
@test length(i.cache.linsolve_tmp) == 5
8282
@test all(size(DI.jacobian(
8383
(du, u) -> (i.f(du, u, nothing, nothing)), rand(5), i.cache.jac_config[1],
84-
AutoForwardDiff(tag = ForwardDiff.Tag(SciMLBase.OrdinaryDiffEqTag(), Float64)), rand(5))) .==
84+
AutoForwardDiff(tag = ForwardDiff.Tag(DiffEqBase.OrdinaryDiffEqTag(), Float64)), rand(5))) .==
8585
5)
8686
solve!(i)
8787

0 commit comments

Comments
 (0)