Skip to content

Commit

Permalink
Order example from more elementary to more advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 13, 2022
1 parent d609eb2 commit e4c4b56
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 @@ -232,8 +232,8 @@ \subsubsection{Implicit Iteration Ranges}\label{implicit-iteration-ranges}
type FourEnums = enumeration(one, two, three, four);
Real x[4];
Real xe[FourEnums] = x;
Real xsquared3[FourEnums] = {xe[i] * xe[i] for i};
Real xsquared4[FourEnums] = {xe[i] * xe[i] for i in FourEnums};
Real xsquared3[FourEnums] = {xe[i] * xe[i] for i in FourEnums};
Real xsquared4[FourEnums] = {xe[i] * xe[i] for i};
Real xsquared5[FourEnums] = {x[i] * x[i] for i};
\end{lstlisting}
\end{example}
Expand Down

0 comments on commit e4c4b56

Please sign in to comment.