Skip to content

Commit

Permalink
Use non-symmetric example. (#2752)
Browse files Browse the repository at this point in the history
* Use non-symmetric example.
Closes #2749
  • Loading branch information
HansOlsson committed Dec 4, 2020
1 parent 5a040e6 commit e21070a
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 hilb[:,:]= { 1/(i+j-1) for i in 1:n, j in 1:n};
Real hilb2[:,:]={{ 1/(i+j-1) for j in 1:n} for i 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 e21070a

Please sign in to comment.