Skip to content

Commit

Permalink
refactor: only load analysis points if not defined in ModelingToolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Jan 3, 2025
1 parent be8d22f commit 97cf2f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Blocks/Blocks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ include("continuous.jl")

export AnalysisPoint, get_sensitivity, get_comp_sensitivity,
get_looptransfer, open_loop
include("analysis_points.jl")
@static if !isdefined(ModelingToolkit, :AnalysisPoint)
include("analysis_points.jl")
end

end

0 comments on commit 97cf2f5

Please sign in to comment.