@@ -448,7 +448,7 @@ ignored. All analysis points in `ignored_system_aps` must contain systems (conne
448448as their input/outputs.
449449"""
450450function systems_to_ignore (ignored_system_aps:: Vector{HierarchyAnalysisPointT} ,
451- systems:: Union{Vector{<:AbstractSystem }, Tuple{Vararg{<:AbstractSystem }}} )
451+ systems:: Union{Vector{S }, Tuple{Vararg{S }}} ) where S <: AbstractSystem
452452 to_ignore = HierarchySystemT[]
453453 for ap in ignored_system_aps
454454 # if `systems` contains the input of the AP, ignore any outputs of the AP present in it.
@@ -476,7 +476,7 @@ points to be ignored. All analysis points in `ignored_system_aps` must contain v
476476as their input/outputs.
477477"""
478478function variables_to_ignore (ignored_variable_aps:: Vector{HierarchyAnalysisPointT} ,
479- systems:: Union{Vector{<:AbstractSystem }, Tuple{Vararg{<:AbstractSystem }}} )
479+ systems:: Union{Vector{S }, Tuple{Vararg{S }}} ) where S <: AbstractSystem
480480 to_ignore = HierarchyVariableT[]
481481 for ap in ignored_variable_aps
482482 ivar_hierarchy = HierarchyVariableT ([ap[1 ]. input; @view ap[2 : end ]])
@@ -503,7 +503,7 @@ be ignored. All analysis points in `ignored_system_aps` must contain variables a
503503input/outputs.
504504"""
505505function variables_to_ignore (ignored_variable_aps:: Vector{HierarchyAnalysisPointT} ,
506- vars:: Union{Vector{<:BasicSymbolic }, Tuple{Vararg{<:BasicSymbolic }}} )
506+ vars:: Union{Vector{S }, Tuple{Vararg{S }}} ) where S <: BasicSymbolic
507507 to_ignore = eltype (vars)[]
508508 for ap in ignored_variable_aps
509509 ivar_hierarchy = HierarchyVariableT ([ap[1 ]. input; @view ap[2 : end ]])
0 commit comments