diff --git a/Project.toml b/Project.toml index 5c14d89..88ff86d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ControlSystemsMTK" uuid = "687d7614-c7e5-45fc-bfc3-9ee385575c88" authors = ["Fredrik Bagge Carlson"] -version = "2.0.0" +version = "2.0.1" [deps] ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e" diff --git a/src/ode_system.jl b/src/ode_system.jl index 38e67a9..8852986 100644 --- a/src/ode_system.jl +++ b/src/ode_system.jl @@ -409,7 +409,7 @@ end function batch_linearize(sys, inputs, outputs, ops::AbstractVector{<:AbstractDict}; t = 0.0, allow_input_derivatives = false, kwargs...) - lin_fun, ssys = linearization_function(sys, inputs, outputs; kwargs...) + lin_fun, ssys = linearization_function(sys, inputs, outputs; op=ops[1], kwargs...) lins = map(ops) do op linearize(ssys, lin_fun; op, t, allow_input_derivatives) end