Skip to content

Commit e35f589

Browse files
fix: be extra safe with unwrapping
1 parent 955d605 commit e35f589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/analysis_points.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function with_analysis_point_ignored(sys::AbstractSystem, ap::AnalysisPoint)
428428
if ap.input isa AbstractSystem && all(x -> x isa AbstractSystem, ap.outputs)
429429
push!(ignored[1], IgnoredAnalysisPoint(ap.input, ap.outputs))
430430
else
431-
push!(ignored[2], IgnoredAnalysisPoint(ap.input, ap.outputs))
431+
push!(ignored[2], IgnoredAnalysisPoint(unwrap(ap.input), unwrap.(ap.outputs)))
432432
end
433433

434434
return @set sys.ignored_connections = ignored

0 commit comments

Comments
 (0)