From 2a45cf5e91ad22d8d58d06c44970cdbb661c50c2 Mon Sep 17 00:00:00 2001 From: Henrik Aalto <47699780+hltk@users.noreply.github.com> Date: Sun, 25 Jul 2021 12:49:59 +0300 Subject: [PATCH] Fix macro --- chapter01.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01.tex b/chapter01.tex index 60ae11a..8f449ab 100644 --- a/chapter01.tex +++ b/chapter01.tex @@ -526,7 +526,7 @@ \subsubsection{Macros} A better version of the macro is as follows: \begin{lstlisting} -#define SQ(a) (a)*(a) +#define SQ(a) ((a)*(a)) \end{lstlisting} Now the code \begin{lstlisting}