commit 157c52efce3fce61af6d411584c7ce35e371be07
Author:     Mattias Andrée <[email protected]>
AuthorDate: Fri Jul 29 12:37:41 2016 +0200
Commit:     Mattias Andrée <[email protected]>
CommitDate: Fri Jul 29 12:37:41 2016 +0200

    Add missing !
    
    Signed-off-by: Mattias Andrée <[email protected]>

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);

Reply via email to