Skip to content

Commit f7f0630

Browse files
authored
Connect the clock in causal direction
1 parent 9758187 commit f7f0630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/input_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function MassSpringDamperSystem(data, time; name)
5151
@named clk = ContinuousClock()
5252
@named model = MassSpringDamper()
5353
54-
eqs = [connect(src.input, clk.output)
54+
eqs = [connect(clk.output, src.input)
5555
connect(src.output, model.input)]
5656
5757
ODESystem(eqs, t, [], []; name, systems = [src, clk, model])

0 commit comments

Comments
 (0)