Skip to content

Commit

Permalink
amend misc white-space
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Aug 11, 2021
1 parent 0896281 commit e7c6e96
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions chapters/statements.tex
Expand Up @@ -64,10 +64,10 @@ \subsection{Execution of an algorithm in a model}\label{execution-of-an-algorith
Example:
\begin{lstlisting}[language=modelica]
model Test // wrong Modelica model (has 4 equations for 2 unknowns)
Real x[2](start={-11, -22});
algorithm // conceptually: x = {1,-22}
Real x[2](start = {-11, -22});
algorithm // conceptually: x = {1, -22}
x[1] := 1;
algorithm // conceptually: x = {-11,2}
algorithm // conceptually: x = {-11, 2}
x[2] := 2;
end Test;
\end{lstlisting}
Expand Down Expand Up @@ -130,7 +130,6 @@ \subsection{Simple Assignment Statements}\label{simple-assignment-statements}

Assignment to array variables with subscripts is described in \cref{array-indexing}.


\subsubsection{Assignments from Called Functions with Multiple Results}\label{assignments-from-called-functions-with-multiple-results}

There is a special form of assignment statement that is used only when the right-hand side contains a call to a function with multiple results.
Expand Down

0 comments on commit e7c6e96

Please sign in to comment.