Skip to content

Commit 21b4c32

Browse files
committed
Fix CI
1 parent 5772197 commit 21b4c32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/systems/clock_inference.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ function infer_clocks!(ci::ClockInference)
2828
@unpack ts, eq_domain, var_domain, inferred = ci
2929
@unpack fullvars = ts
3030
@unpack graph = ts.structure
31+
if isempty(inferred)
32+
fill!(var_domain, Continuous())
33+
fill!(eq_domain, Continuous())
34+
return ci
35+
end
3136
# TODO: add a graph type to do this lazily
3237
var_graph = SimpleGraph(ndsts(graph))
3338
for eq in 𝑠vertices(graph)

0 commit comments

Comments
 (0)