Skip to content

Commit 48baee1

Browse files
fixup! test: fix initialization of model in tests
1 parent 96268bd commit 48baee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/input_output_handling.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ matrices, ssys = linearize(
137137

138138
if VERSION >= v"1.8" # :opaque_closure not supported before
139139
let # Just to have a local scope for D
140-
matrices, ssys = linearize(model, model_inputs, [y])
140+
matrices, ssys = linearize(model, model_inputs, [y]; op = Dict(torque.tau.u => 0.0))
141141
A, B, C, D = matrices
142142
obsf = ModelingToolkit.build_explicit_observed_function(ssys,
143143
[y],

0 commit comments

Comments
 (0)