Skip to content

Commit 10a91da

Browse files
fix(nonlinearsystem): Fix codegen issue for vector parameters
Co-authored-by: Aayush Sabharwal <[email protected]>
1 parent 3a0784a commit 10a91da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/nonlinear/nonlinearsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ function CacheWriter(sys::AbstractSystem, buffer_types::Vector{TypeT},
578578

579579
fn = build_function_wrapper(
580580
sys, nothing, :out, DestructuredArgs(DestructuredArgs.(solsyms)),
581-
DestructuredArgs.(rps)...; p_start = 3, p_end = length(rps) + 2,
581+
rps...; p_start = 3, p_end = length(rps) + 2,
582582
expression = Val{true}, add_observed = false,
583583
extra_assignments = [obs_assigns; body])
584584
return CacheWriter(eval_or_rgf(fn; eval_expression, eval_module))

0 commit comments

Comments
 (0)