From f6cb7f3e7382a19a6d6d9990c243ffb8a666182d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Mar 2016 05:30:01 +0100 Subject: Optimisations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zmodsqr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zmodsqr.c') diff --git a/src/zmodsqr.c b/src/zmodsqr.c index 8a1442d..bdf0ea2 100644 --- a/src/zmodsqr.c +++ b/src/zmodsqr.c @@ -6,7 +6,7 @@ void zmodsqr(z_t a, z_t b, z_t c) { /* TODO What is the fastest way to do zmodsqr? */ - if (a == c) { + if (EXPECT(a == c, 0)) { zset(libzahl_tmp_modsqr, c); zsqr(a, b); zmod(a, a, libzahl_tmp_modsqr); -- cgit v1.2.3-70-g09d2