File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -487,14 +487,14 @@ function build_explicit_observed_function(sys, ts;
487
487
end
488
488
_ps = ps
489
489
if ps isa Tuple
490
- ps = DestructuredArgs .(ps , inbounds = ! checkbounds)
490
+ ps = DestructuredArgs .(unwrap .(ps) , inbounds = ! checkbounds)
491
491
elseif has_index_cache (sys) && get_index_cache (sys) != = nothing
492
- ps = DestructuredArgs .(reorder_parameters (get_index_cache (sys), ps ))
492
+ ps = DestructuredArgs .(reorder_parameters (get_index_cache (sys), unwrap .(ps) ))
493
493
if isempty (ps) && inputs != = nothing
494
494
ps = (:EMPTY ,)
495
495
end
496
496
else
497
- ps = (DestructuredArgs (ps , inbounds = ! checkbounds),)
497
+ ps = (DestructuredArgs (unwrap .(ps) , inbounds = ! checkbounds),)
498
498
end
499
499
dvs = DestructuredArgs (unknowns (sys), inbounds = ! checkbounds)
500
500
if inputs === nothing
You can’t perform that action at this time.
0 commit comments