Skip to content

Commit 7c91ecc

Browse files
committed
forward are args
1 parent f4df016 commit 7c91ecc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ControlSystemsBase/src/matrix_comps.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ See [`lqr`](@ref) for more details.
1818
Uses `MatrixEquations.arec`. For keyword arguments, see the docstring of `ControlSystemsBase.MatrixEquations.arec`,
1919
note that they define the input arguments in a different order.
2020
"""
21-
function are(::ContinuousType, A::AbstractMatrix, B, Q, R; kwargs...)
22-
arec(A, B, R, Q; kwargs...)[1]
21+
function are(::ContinuousType, A::AbstractMatrix, B, Q, R, args...; kwargs...)
22+
arec(A, B, R, Q, args...; kwargs...)[1]
2323
end
2424

2525
"""
@@ -34,8 +34,8 @@ See [`lqr`](@ref) for more details.
3434
Uses `MatrixEquations.ared`. For keyword arguments, see the docstring of `ControlSystemsBase.MatrixEquations.ared`,
3535
note that they define the input arguments in a different order.
3636
"""
37-
function are(::DiscreteType, A::AbstractMatrix, B, Q, R; kwargs...)
38-
ared(A, B, R, Q; kwargs...)[1]
37+
function are(::DiscreteType, A::AbstractMatrix, B, Q, R, args...; kwargs...)
38+
ared(A, B, R, Q, args...; kwargs...)[1]
3939
end
4040

4141
are(t::TimeEvolType, A::Number, B::Number, Q::Number, R::Number) = are(t, fill(A,1,1),fill(B,1,1),fill(Q,1,1),fill(R,1,1))

0 commit comments

Comments
 (0)