diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-12-01 11:25:08 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-12-01 11:25:08 +0100 |
commit | 8d16e980c29535d9d92a4a297077a51207cf93e4 (patch) | |
tree | fd7750e242e21a66e27021ccb945f3e8c1c224f8 /sys/src/libmp | |
parent | ffdfc17ceede743b6fa32a6d1659f62f0d0d8650 (diff) |
libmp: mpmod() fix typo
Diffstat (limited to 'sys/src/libmp')
-rw-r--r-- | sys/src/libmp/port/mpmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libmp/port/mpmod.c b/sys/src/libmp/port/mpmod.c index b5dddf105..73add0f29 100644 --- a/sys/src/libmp/port/mpmod.c +++ b/sys/src/libmp/port/mpmod.c @@ -42,7 +42,7 @@ mpmod(mpint *x, mpint *n, mpint *r) c = mpnew(0); p = mpnew(0); } - mpleft(p, s, m); + mpleft(n, s, m); mpleft(mpone, k*Dbits, c); mpsub(c, m, c); if(c->top >= k){ |