From 907060fbea4ee40e0825349dbff31e1c27284194 Mon Sep 17 00:00:00 2001 From: Yingbo Ma Date: Mon, 5 Feb 2024 17:20:38 -0500 Subject: [PATCH] Define `isconnection` on AnalysisPoint --- src/Blocks/analysis_points.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Blocks/analysis_points.jl b/src/Blocks/analysis_points.jl index b7690692d..ef95e6f42 100644 --- a/src/Blocks/analysis_points.jl +++ b/src/Blocks/analysis_points.jl @@ -5,6 +5,9 @@ Base.@kwdef mutable struct AnalysisPoint out = nothing name::Symbol = :nothing end +if Base.isdefined(ModelingToolkit, :isconnection) + ModelingToolkit.isconnection(::AnalysisPoint) = true +end Base.nameof(ap::AnalysisPoint) = ap.name