Skip to content

Commit

Permalink
fix: change MIMO to use RealInput/OutputArray
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashresearch1 committed May 7, 2024
1 parent 6e2af95 commit f000b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Blocks/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ Base class for a multiple input multiple output (MIMO) continuous system block.
"The keyword argument `y_start` is deprecated. Use `y_guess` instead.", :y_start)
y_guess = y_start
end
@named input = RealInput(nin = nin, guess = u_guess)
@named output = RealOutput(nout = nout, guess = y_guess)
@named input = RealInputArray(nin = nin, guess = u_guess)
@named output = RealOutputArray(nout = nout, guess = y_guess)
@variables begin
u(t)[1:nin], [guess = u_guess, description = "Input of MIMO system $name"]
y(t)[1:nout], [guess = y_guess, description = "Output of MIMO system $name"]
Expand Down

0 comments on commit f000b3d

Please sign in to comment.