From 157c52efce3fce61af6d411584c7ce35e371be07 Mon Sep 17 00:00:00 2001
From: Mattias Andrée <maandree@kth.se>
Date: Fri, 29 Jul 2016 12:37:41 +0200
Subject: Add missing !
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattias Andrée <maandree@kth.se>
---
 doc/exercises.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/exercises.tex')

diff --git a/doc/exercises.tex b/doc/exercises.tex
index 7828cf8..755390e 100644
--- a/doc/exercises.tex
+++ b/doc/exercises.tex
@@ -764,7 +764,7 @@ modtetra(z_t r, z_t b, unsigned long n, z_t m)
     z_t t, temp;
 
     if (n <= 1) \{
-        if (n)
+        if (!n)
             zsetu(r, zcmpu(m, 1));
         else
             zmod(r, b, m);
-- 
cgit v1.2.3-70-g09d2

