You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(integrator_args &&!(length(args) ==3)) &&error("Too many extra arguments given to build an integrator-based function; expected 3, i.e. (u,p,t), but received $(length(args)).")
argnames = [gensym(:MTKArg) for i in1:length(args)]
111
134
arg_pairs =map(vars_to_pairs,zip(argnames,args))
112
135
ls =reduce(vcat,first.(arg_pairs))
@@ -185,36 +208,10 @@ function _build_function(target::JuliaTarget, rhss, args...;
185
208
returnconstruct(X)
186
209
end
187
210
)
188
-
integrator =gensym(:MTKIntegrator)
189
-
(integrator_args &&!(length(args) ==3)) &&error("Too many extra arguments given to build an integrator-based function; expected 3, i.e. (u,p,t), but received $(length(args)).")
0 commit comments