We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StalledSuccess
1 parent 3c92fb3 commit 506582eCopy full SHA for 506582e
test/initializationsystem.jl
@@ -39,7 +39,7 @@ initprob = ModelingToolkit.InitializationProblem(
39
pend, 0.0, [], [g => 1]; guesses = ModelingToolkit.missing_variable_defaults(pend))
40
@test initprob isa NonlinearLeastSquaresProblem
41
sol = solve(initprob)
42
-@test !SciMLBase.successful_retcode(sol)
+@test !SciMLBase.successful_retcode(sol) || sol.retcode == SciMLBase.ReturnCode.StalledSuccess
43
44
@test_throws ModelingToolkit.ExtraVariablesSystemException ModelingToolkit.InitializationProblem(
45
pend, 0.0, [], [g => 1]; guesses = ModelingToolkit.missing_variable_defaults(pend),
0 commit comments