From e21070a78bdbfa925c7e6a400f69cb1c5309a547 Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Fri, 4 Dec 2020 18:48:45 +0100 Subject: [PATCH] Use non-symmetric example. (#2752) * Use non-symmetric example. Closes #2749 --- chapters/arrays.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapters/arrays.tex b/chapters/arrays.tex index d539422a4..d1005b179 100644 --- a/chapters/arrays.tex +++ b/chapters/arrays.tex @@ -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}