From 242b3d6dab16142be25b9ef22a06e102daf459d1 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Tue, 27 Feb 2024 14:21:58 +0100 Subject: [PATCH] fix typo --- src/equations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations.jl b/src/equations.jl index 5e70ddc9e..4296d47ef 100644 --- a/src/equations.jl +++ b/src/equations.jl @@ -82,7 +82,7 @@ Create a transition from state `from` to state `to` that is enabled when transit - `cond`: A transition condition that evaluates to a Bool, such as `ticksInState() >= 2`. - `immediate`: If `true`, the transition will fire at the same tick as it becomes true, if `false`, the actions of the state are evaluated first, and the transition fires during the next tick. - `reset`: If true, the destination state `to` is reset to its initial condition when the transition fires. -- `synchronize`: If true, the transition will only fire if all sub-state machines in the destination state are in their final (terminal) state. A final state is one that has no outgoing transitions. +- `synchronize`: If true, the transition will only fire if all sub-state machines in the source state are in their final (terminal) state. A final state is one that has no outgoing transitions. - `priority`: If a state has more than one outgoing transition, all outgoing transitions must have a unique priority. The transitions are evaluated in priority order, i.e., the transition with priority 1 is evaluated first. """ function transition(from, to, cond;