Skip to content

Commit 288ffbb

Browse files
refactor: default create_bindings to false in build_function_wrapper
1 parent f779736 commit 288ffbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/codegen_utils.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function build_function_wrapper(sys::AbstractSystem, expr, args...; p_start = 2,
121121
p_end = is_time_dependent(sys) ? length(args) - 1 : length(args),
122122
wrap_delays = is_dde(sys), wrap_code = identity,
123123
add_observed = true, filter_observed = Returns(true),
124-
create_bindings = true, output_type = nothing, mkarray = nothing,
124+
create_bindings = false, output_type = nothing, mkarray = nothing,
125125
wrap_mtkparameters = true, extra_assignments = Assignment[], kwargs...)
126126
isscalar = !(expr isa AbstractArray || symbolic_type(expr) == ArraySymbolic())
127127
# filter observed equations

0 commit comments

Comments
 (0)