You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/input_output_handling.jl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ end
20
20
@named sys =ODESystem([D(x) ~-x + u], t) # both u and x are unbound
21
21
@named sys1 =ODESystem([D(x) ~-x + v[1] + v[2]], t) # both v and x are unbound
22
22
@named sys2 =ODESystem([D(x) ~-sys.x], t, systems = [sys]) # this binds sys.x in the context of sys2, sys2.x is still unbound
23
-
@named sys21 =ODESystem([D(x) ~-sys.x], t, systems = [sys1]) # this binds sys.x in the context of sys2, sys2.x is still unbound
23
+
@named sys21 =ODESystem([D(x) ~-sys1.x], t, systems = [sys1]) # this binds sys.x in the context of sys2, sys2.x is still unbound
24
24
@named sys3 =ODESystem([D(x) ~-sys.x + sys.u], t, systems = [sys]) # This binds both sys.x and sys.u
25
-
@named sys31 =ODESystem([D(x) ~-sys.x + sys1.v[1]], t, systems = [sys1]) # This binds both sys.x and sys1.v[1]
25
+
@named sys31 =ODESystem([D(x) ~-sys1.x + sys1.v[1]], t, systems = [sys1]) # This binds both sys.x and sys1.v[1]
26
26
27
27
@named sys4 =ODESystem([D(x) ~-sys.x, u ~ sys.u], t, systems = [sys]) # This binds both sys.x and sys3.u, this system is one layer deeper than the previous. u is directly forwarded to sys.u, and in this case sys.u is bound while u is not
0 commit comments