Skip to content

Commit

Permalink
Change so that all variables in initial algorithms are treated the same
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Aug 13, 2024
1 parent 1b36fa3 commit 16f9b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/statements.tex
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ \subsection{An Algorithm in a Model}\label{execution-of-an-algorithm-in-a-model}
\item
A continuous-time variable is initialized with the value of its \lstinline!start!-attribute.
\item
A discrete-time variable \lstinline!v! is initialized with \lstinline!pre(v)!.
A discrete-time variable \lstinline!v! in a non-initial algorithm is initialized with \lstinline!pre(v)!.
\item
If at least one element of an array appears on the left hand side of the assignment operator, then the complete array is initialized in this algorithm section.
\item
A parameter assigned in an initial algorithm, \cref{initialization-initial-equation-and-initial-algorithm}, is initialized with the value of its \lstinline!start!-attribute.
In an initial algorithm, \cref{initialization-initial-equation-and-initial-algorithm}, any variable (including a parameter) is initialized with the value of its \lstinline!start!-attribute.
\end{itemize}

\begin{nonnormative}
Expand Down

0 comments on commit 16f9b05

Please sign in to comment.