Skip to content

Commit 9b61cae

Browse files
fix: fix typo
1 parent fbcfdaf commit 9b61cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linearization.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function linearization_function(sys::AbstractSystem, inputs,
113113
# observed function is a `GeneratedFunctionWrapper` with iip component
114114
h_jac = PreparedJacobian{true}(h, similar(prob.u0, size(outputs)), autodiff,
115115
prob.u0, DI.Constant(p), DI.Constant(t0))
116-
pf_fun = let fun = prob.f, setter = setp_oop(ssimilarys, input_idxs)
116+
pf_fun = let fun = prob.f, setter = setp_oop(sys, input_idxs)
117117
function pff(du, input, u, p, t)
118118
p = setter(p, input)
119119
SciMLBase.ParamJacobianWrapper(fun, t, u)(du, p)

0 commit comments

Comments
 (0)