Skip to content

Commit

Permalink
FixSyntax
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Dec 4, 2020
1 parent 15c6f0b commit 5a16714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/arrays.tex
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,8 @@ \subsubsection{Array Constructor with Several Iterators}\label{array-constructor

\begin{example}
\begin{lstlisting}[language=modelica]
Real toeplitz[:,:]={i-j for i in 1:n, j in 1:n];
Real toeplitz2[:,:]={i-j for i in 1:n} for j in 1:n};
Real toeplitz[:,:]={i-j for i in 1:n, j in 1:n};
Real toeplitz2[:,:]={{i-j for i in 1:n} for j in 1:n};
\end{lstlisting}
\end{example}

Expand Down

0 comments on commit 5a16714

Please sign in to comment.