Skip to content

Commit 907060f

Browse files
committed
Define isconnection on AnalysisPoint
1 parent c65f35a commit 907060f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Blocks/analysis_points.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Base.@kwdef mutable struct AnalysisPoint
55
out = nothing
66
name::Symbol = :nothing
77
end
8+
if Base.isdefined(ModelingToolkit, :isconnection)
9+
ModelingToolkit.isconnection(::AnalysisPoint) = true
10+
end
811

912
Base.nameof(ap::AnalysisPoint) = ap.name
1013

0 commit comments

Comments
 (0)