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 @@ -512,14 +512,14 @@ function build_explicit_observed_function(sys, ts;
512512 end
513513 _ps = ps
514514 if ps isa Tuple
515- ps = DestructuredArgs .(ps , inbounds = ! checkbounds)
515+ ps = DestructuredArgs .(unwrap .(ps) , inbounds = ! checkbounds)
516516 elseif has_index_cache (sys) && get_index_cache (sys) != = nothing
517- ps = DestructuredArgs .(reorder_parameters (get_index_cache (sys), ps ))
517+ ps = DestructuredArgs .(reorder_parameters (get_index_cache (sys), unwrap .(ps) ))
518518 if isempty (ps) && inputs != = nothing
519519 ps = (:EMPTY ,)
520520 end
521521 else
522- ps = (DestructuredArgs (ps , inbounds = ! checkbounds),)
522+ ps = (DestructuredArgs (unwrap .(ps) , inbounds = ! checkbounds),)
523523 end
524524 dvs = DestructuredArgs (unknowns (sys), inbounds = ! checkbounds)
525525 if inputs === nothing
You can’t perform that action at this time.
0 commit comments