Skip to content

Commit

Permalink
fixup! refactor: remove parameter dependencies from MTKParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Aug 7, 2024
1 parent 4682ba8 commit 428017f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/inputoutput.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ function generate_control_function(sys::AbstractODESystem, inputs = unbound_inpu
end
process = get_postprocess_fbody(sys)
f = build_function(rhss, args...; postprocess_fbody = process,
expression = Val{true}, wrap_code = wrap_array_vars(sys, rhss; dvs, ps), kwargs...)
expression = Val{true}, wrap_code = wrap_array_vars(sys, rhss; dvs, ps) .∘
wrap_parameter_dependencies(sys, false),
kwargs...)
f = eval_or_rgf.(f; eval_expression, eval_module)
(; f, dvs, ps, io_sys = sys)
end
Expand Down

0 comments on commit 428017f

Please sign in to comment.