Skip to content

Commit

Permalink
fix tests to not require internal
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 6, 2023
1 parent 61ac8b5 commit 2d819fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/clock.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ By inference:
=> Shift(x, 0, dt) := (Shift(x, -1, dt) + dt) / (1 - dt) # Discrete system
=#

using ModelingToolkit.SystemStructures
ci, varmap = infer_clocks(sys)
ci, varmap = ModelingToolkit.infer_clocks(sys)
eqmap = ci.eq_domain
tss, inputs = ModelingToolkit.split_system(deepcopy(ci))
sss, = SystemStructures._structural_simplify!(deepcopy(tss[1]), (inputs[1], ()))
Expand Down

0 comments on commit 2d819fa

Please sign in to comment.