Skip to content

Commit 0abd818

Browse files
committed
Return control variables for flattened sys
1 parent 4414ca8 commit 0abd818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/abstractsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ function parameters(sys::AbstractSystem)
368368
end
369369

370370
function controls(sys::AbstractSystem)
371-
get_ctrl(sys)
371+
get_ctrl(flatten(sys))
372372
end
373373

374374
function observed(sys::AbstractSystem)

0 commit comments

Comments
 (0)