diff options
Diffstat (limited to 'src/zptest.c')
| -rw-r--r-- | src/zptest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zptest.c b/src/zptest.c index d6fa80d..005a2bd 100644 --- a/src/zptest.c +++ b/src/zptest.c @@ -17,7 +17,7 @@ zptest(z_t witness, z_t n, int t) size_t i, r; - if (EXPECT(zcmpu(n, 3) <= 0, 0)) { + if (unlikely(zcmpu(n, 3) <= 0)) { if (zcmpu(n, 1) <= 0) { if (witness) SET(witness, n); @@ -26,7 +26,7 @@ zptest(z_t witness, z_t n, int t) return PRIME; } } - if (EXPECT(zeven(n), 0)) { + if (unlikely(zeven(n))) { if (witness) SET(witness, n); return NONPRIME; |
