Skip to content

Commit

Permalink
Update hierarchical_initialization_eqs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jul 31, 2024
1 parent f99f3bc commit 95440bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hierarchical_initialization_eqs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,6 @@ syslist = ModelingToolkit.get_systems(model)
u0 = []
prob = ODEProblem(structural_simplify(model), u0, (0.0, 10.0))
sol = solve(prob, Rodas5P())
@test length(sol[end]) == 2
@test length(sol.u[end]) == 2
@test length(equations(prob.f.initializeprob.f.sys)) == 0
@test length(unknowns(prob.f.initializeprob.f.sys)) == 0

0 comments on commit 95440bd

Please sign in to comment.