commit cd131729b7b458f26d9bd9b51ecfc6b2acde5f97
parent a9388ee62cd0553aa62f7305956b37d677d23c97
Author: Mattias Andrée <maandree@kth.se>
Date: Sat, 14 May 2016 17:47:37 +0200
Minor edit in manual: reorder parameters in call to zadd
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/not-implemented.tex b/doc/not-implemented.tex
@@ -82,7 +82,7 @@ modinv(z_t inv, z_t a, z_t m)
zset(apos, a);
if (zcmpmag(apos, mabs))
zmod(apos, apos, mabs);
- zadd(apos, mabs, apos);
+ zadd(apos, apos, mabs);
\}
extgcd(inv, _1, _2, _3, gcd, apos, mabs);
if ((invertible = !zcmpi(gcd, 1))) \{