File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
structural_transformation Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -362,11 +362,12 @@ disturbed_input = ins[1]
362362 dist_integ,
363363 ins)
364364
365+ getter_sys = complete (augmented_sys)
365366matrices, ssys = linearize (augmented_sys,
366367 [
367- augmented_sys . u,
368- augmented_sys . input. u[2 ],
369- augmented_sys . d
368+ getter_sys . u,
369+ getter_sys . input. u[2 ],
370+ getter_sys . d
370371 ], outs)
371372@test matrices. A ≈ [A [1 ; 0 ]; zeros (1 , 2 ) - 0.001 ]
372373@test matrices. B == I
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ using Test
1414 end
1515end
1616
17- @named rc_model = ODESystem (rc_eqs, t; systems )
17+ @named rc_model = FOL ( )
1818sys = structural_simplify (rc_model)
19- @test_throws ModelingToolkit. RepeatedStructuralSimplificationError structural_simplify (sys)
19+ @test_throws ModelingToolkit. RepeatedStructuralSimplificationError structural_simplify (sys)
Original file line number Diff line number Diff line change 1414end
1515@safetestset " Errors" begin
1616 include (" errors.jl" )
17- end
17+ end
You can’t perform that action at this time.
0 commit comments