From fdc75a358e4c20116640c08f4e8ce7a09dc3cebd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 7 May 2016 03:02:56 +0200 Subject: Optimisations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zsqr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zsqr.c') diff --git a/src/zsqr.c b/src/zsqr.c index dbbfba2..06c41a4 100644 --- a/src/zsqr.c +++ b/src/zsqr.c @@ -20,7 +20,7 @@ zsqr_ll(z_t a, z_t b) #define z2 a z_t z0, z1, high, low; - zahl_char_t auxchars[3]; + zahl_char_t auxchars[3 * ZAHL_FLUFF]; size_t bits; bits = zbits(b); @@ -38,7 +38,7 @@ zsqr_ll(z_t a, z_t b) * which require constant auxiliary memory. */ if (bits < BITS_PER_CHAR) { low->chars = auxchars; - high->chars = auxchars + 1; + high->chars = auxchars + ZAHL_FLUFF; zsplit_unsigned_fast_small_auto(high, low, b, bits); } else { bits = TRUNCATE_TO_CHAR(bits); -- cgit v1.2.3-70-g09d2