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;
487487 end
488488 _ps = ps
489489 if ps isa Tuple
490- ps = DestructuredArgs .(ps , inbounds = ! checkbounds)
490+ ps = DestructuredArgs .(unwrap .(ps) , inbounds = ! checkbounds)
491491 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) ))
493493 if isempty (ps) && inputs != = nothing
494494 ps = (:EMPTY ,)
495495 end
496496 else
497- ps = (DestructuredArgs (ps , inbounds = ! checkbounds),)
497+ ps = (DestructuredArgs (unwrap .(ps) , inbounds = ! checkbounds),)
498498 end
499499 dvs = DestructuredArgs (unknowns (sys), inbounds = ! checkbounds)
500500 if inputs === nothing
You can’t perform that action at this time.
0 commit comments