[libntl] 10/12: Fix typos
Julien Puydt
julien.puydt at laposte.net
Wed Jun 1 15:19:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository libntl.
commit 7ad89e8a16453600851bf54ce76852f6067a6200
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Wed Jun 1 17:01:14 2016 +0200
Fix typos
---
src/FFT.c | 2 +-
src/ZZ_pX.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/FFT.c b/src/FFT.c
index f49e4ff..7f9f91b 100644
--- a/src/FFT.c
+++ b/src/FFT.c
@@ -479,7 +479,7 @@ SmartPtr<zz_pInfoT> Build_zz_pInfo(FFTPrimeInfo *info) { return 0; }
void UseFFTPrime(long index)
{
- if (index < 0) LogicError("invalud FFT prime index");
+ if (index < 0) LogicError("invalid FFT prime index");
if (index >= NTL_MAX_FFTPRIMES) ResourceError("FFT prime index too large");
do { // NOTE: thread safe lazy init
diff --git a/src/ZZ_pX.c b/src/ZZ_pX.c
index 3e7c23c..4b09716 100644
--- a/src/ZZ_pX.c
+++ b/src/ZZ_pX.c
@@ -3107,7 +3107,7 @@ void rem(ZZ_pX& x, const ZZ_pX& a, const ZZ_pXModulus& F)
long da = deg(a);
long n = F.n;
- if (n < 0) LogicError("rem: unitialized modulus");
+ if (n < 0) LogicError("rem: uninitialized modulus");
if (da <= 2*n-2) {
rem21(x, a, F);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libntl.git
More information about the debian-science-commits
mailing list