From ec7953523e98c5b2e747576e72c63df51f5e7d08 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Wed, 13 Nov 2024 12:19:42 +0530 Subject: [PATCH] test: fix SII tests --- test/mtk_cache_indexing_tests.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/mtk_cache_indexing_tests.jl b/test/mtk_cache_indexing_tests.jl index 3109d1612..f4136eb1f 100644 --- a/test/mtk_cache_indexing_tests.jl +++ b/test/mtk_cache_indexing_tests.jl @@ -1,6 +1,7 @@ @testitem "Modeling Toolkit Cache Indexing" tags=[:downstream] begin using ModelingToolkit using ModelingToolkit: t_nounits as t + import NonlinearSolveBase, NonlinearSolveFirstOrder @parameters p d @variables X(t) @@ -11,9 +12,9 @@ nlprob = NonlinearProblem(nlsys, [X => 1.0], [p => 2.0, d => 3.0]) @testset "$integtype" for (alg, integtype) in [ - (NewtonRaphson(), NonlinearSolve.GeneralizedFirstOrderAlgorithmCache), - (FastShortcutNonlinearPolyalg(), NonlinearSolve.NonlinearSolvePolyAlgorithmCache), - (SimpleNewtonRaphson(), NonlinearSolve.NonlinearSolveNoInitCache) + (NewtonRaphson(), NonlinearSolveFirstOder.GeneralizedFirstOrderAlgorithmCache), + (FastShortcutNonlinearPolyalg(), NonlinearSolveBase.NonlinearSolvePolyAlgorithmCache), + (SimpleNewtonRaphson(), NonlinearSolveBase.NonlinearSolveNoInitCache) ] nint = init(nlprob, alg) @test nint isa integtype