Skip to content

Commit 56ce7e5

Browse files
authored
forward t in linearize
1 parent 93cab23 commit 56ce7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/abstractsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,10 +1227,10 @@ function linearize(sys, lin_fun; t = 0.0, op = Dict(), allow_input_derivatives =
12271227
(; A, B, C, D)
12281228
end
12291229

1230-
function linearize(sys, inputs, outputs; op = Dict(), allow_input_derivatives = false,
1230+
function linearize(sys, inputs, outputs; op = Dict(), t = 0.0, allow_input_derivatives = false,
12311231
kwargs...)
12321232
lin_fun, ssys = linearization_function(sys, inputs, outputs; kwargs...)
1233-
linearize(ssys, lin_fun; op, allow_input_derivatives), ssys
1233+
linearize(ssys, lin_fun; op, t, allow_input_derivatives), ssys
12341234
end
12351235

12361236
"""

0 commit comments

Comments
 (0)