Skip to content

Commit a808394

Browse files
committed
change order
1 parent 636c1ff commit a808394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/named_systems2.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ function connect(systems; u1::Vector{Symbol}, y1::Vector{Symbol}, external_input
411411
full = append(systems...; unique)
412412
@assert length(y1) == length(u1)
413413

414-
z1 = something(external_outputs, z1)
414+
z1 = something(z1, external_outputs)
415415
w1 = something(external_inputs, w1)
416416
w1 === nothing && error("The keyword argument `external_inputs` must be provided")
417417
if unique

0 commit comments

Comments
 (0)