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 30855c9 commit 263f1b8Copy full SHA for 263f1b8
test/structural_transformation/utils.jl
@@ -59,9 +59,10 @@ end
59
@test_nowarn prob.f(prob.u0, prob.p, 0.0)
60
61
isys = ModelingToolkit.generate_initializesystem(sys)
62
- @test length(unknowns(isys)) == 5
63
- @test length(equations(isys)) == 4
64
- @test !any(equations(isys)) do eq
+ @test length(unknowns(isys)) == 1
+ @test length(equations(isys)) == 0
+ @test length(observed(isys)) == 4
65
+ @test !any([equations(isys); observed(isys)]) do eq
66
iscall(eq.rhs) && operation(eq.rhs) in [StructuralTransformations.change_origin]
67
end
68
0 commit comments