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.
1 parent ea15cc7 commit c7977aeCopy full SHA for c7977ae
test/initializationsystem.jl
@@ -32,7 +32,7 @@ initprob = ModelingToolkit.InitializationProblem(pend, 0.0, [x => 1, y => 0], [g
32
@test initprob isa NonlinearLeastSquaresProblem
33
sol = solve(initprob)
34
@test SciMLBase.successful_retcode(sol)
35
-@test sol.u == [0.0, 0.0, 0.0, 0.0]
+@test all(iszero, sol.u)
36
@test maximum(abs.(sol[conditions])) < 1e-14
37
38
initprob = ModelingToolkit.InitializationProblem(
0 commit comments