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 828bcdb commit 8a304b3Copy full SHA for 8a304b3
test/components.jl
@@ -42,7 +42,8 @@ end
42
completed_rc_model = complete(rc_model)
43
@test isequal(completed_rc_model.resistor.n.i, resistor.n.i)
44
@test ModelingToolkit.n_expanded_connection_equations(capacitor) == 2
45
-@test length(equations(structural_simplify(rc_model, allow_parameter = false))) == 2
+@test length(equations(structural_simplify(
46
+ rc_model, allow_algebraic = false, allow_parameter = false))) == 2
47
sys = structural_simplify(rc_model)
48
@test_throws ModelingToolkit.RepeatedStructuralSimplificationError structural_simplify(sys)
49
@test length(equations(sys)) == 1
0 commit comments