(wrong string) ée

From: <git_AT_suckless.org>
Date: Fri, 13 May 2016 20:43:37 +0200 (CEST)

commit fd9c83cbb9d80a8108cd5112d12f475406b44a20
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri May 13 19:07:07 2016 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Fri May 13 19:07:07 2016 +0200

    zptest: if n is even, let the witness be 2
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/src/zptest.c b/src/zptest.c
index 406cedc..1a44069 100644
--- a/src/zptest.c
+++ b/src/zptest.c
_AT_@ -28,7 +28,7 @@ zptest(z_t witness, z_t n, int t)
         }
         if (unlikely(zeven(n))) {
                 if (witness)
- SET(witness, n);
+ zsetu(witness, 2);
                 return NONPRIME;
         }
 
Received on Fri May 13 2016 - 20:43:37 CEST

This archive was generated by hypermail 2.3.0 : Fri May 13 2016 - 20:48:21 CEST