Skip to content

Commit 4e6871f

Browse files
authoredDec 20, 2022
Update chapters/equations.tex
1 parent 0af4ff1 commit 4e6871f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎chapters/equations.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ \section{Initialization, initial equation, and initial algorithm}\label{initiali
731731
but not in one of the specific forms, the \lstinline!when!-clause is not active during initialization: \lstinline!when not initial() then print("simulation started"); end when;!
732732
\end{nonnormative}
733733

734-
The algorithmic statements within a \lstinline!when!-statement are active during initialization, if and only they are explicitly enabled with \lstinline!initial()!, and only in one of the two forms \lstinline!when initial() then! or \lstinline!when {$\ldots$, initial(), $\ldots$} then!.
734+
The algorithmic statements within a \lstinline!when!-statement are active during initialization, if and only if they are explicitly enabled with \lstinline!initial()!, and only in one of the two forms \lstinline!when initial() then! or \lstinline!when {$\ldots$, initial(), $\ldots$} then!.
735735
In this case, the algorithmic statements within the \lstinline!when!-statement remain active during the whole initialization phase.
736736

737737
An active \lstinline!when!-clause inactivates the following \lstinline!elsewhen! (similarly as for \lstinline!when!-clauses during simulation), but apart from that the first \lstinline!elsewhen initial() then! or \lstinline!elsewhen {$\ldots$, initial(), $\ldots$} then! is similarly active during initialization as \lstinline!when initial() then! or \lstinline!when {$\ldots$, initial(), $\ldots$} then!.

0 commit comments

Comments
 (0)
Please sign in to comment.