Skip to content

Commit ec79535

Browse files
test: fix SII tests
1 parent d837b1f commit ec79535

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/mtk_cache_indexing_tests.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@testitem "Modeling Toolkit Cache Indexing" tags=[:downstream] begin
22
using ModelingToolkit
33
using ModelingToolkit: t_nounits as t
4+
import NonlinearSolveBase, NonlinearSolveFirstOrder
45

56
@parameters p d
67
@variables X(t)
@@ -11,9 +12,9 @@
1112
nlprob = NonlinearProblem(nlsys, [X => 1.0], [p => 2.0, d => 3.0])
1213

1314
@testset "$integtype" for (alg, integtype) in [
14-
(NewtonRaphson(), NonlinearSolve.GeneralizedFirstOrderAlgorithmCache),
15-
(FastShortcutNonlinearPolyalg(), NonlinearSolve.NonlinearSolvePolyAlgorithmCache),
16-
(SimpleNewtonRaphson(), NonlinearSolve.NonlinearSolveNoInitCache)
15+
(NewtonRaphson(), NonlinearSolveFirstOder.GeneralizedFirstOrderAlgorithmCache),
16+
(FastShortcutNonlinearPolyalg(), NonlinearSolveBase.NonlinearSolvePolyAlgorithmCache),
17+
(SimpleNewtonRaphson(), NonlinearSolveBase.NonlinearSolveNoInitCache)
1718
]
1819
nint = init(nlprob, alg)
1920
@test nint isa integtype

0 commit comments

Comments
 (0)