Skip to content

Commit 53b22c4

Browse files
Merge pull request #350 from AayushSabharwal/as/remove-analysis-points
refactor: only load analysis points if not defined in ModelingToolkit
2 parents be8d22f + 97cf2f5 commit 53b22c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Blocks/Blocks.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ include("continuous.jl")
2929

3030
export AnalysisPoint, get_sensitivity, get_comp_sensitivity,
3131
get_looptransfer, open_loop
32-
include("analysis_points.jl")
32+
@static if !isdefined(ModelingToolkit, :AnalysisPoint)
33+
include("analysis_points.jl")
34+
end
3335

3436
end

0 commit comments

Comments
 (0)