Jeroen Demeyer on Wed, 06 Apr 2016 13:19:48 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Some trivial typos


A similar fix and a fix for the testsuite, to be added on top of the first patch.
>From 89820ec31c9eae83caf36456cf5470f605102ce7 Mon Sep 17 00:00:00 2001
From: Jeroen Demeyer <jdemeyer@cage.ugent.be>
Date: Wed, 6 Apr 2016 12:20:14 +0200
Subject: [PATCH 2/2] Further typo fixes

---
 src/functions/number_fields/nfeltdivrem | 2 +-
 src/functions/number_fields/nfeltmod    | 2 +-
 src/test/32/compat                      | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/functions/number_fields/nfeltdivrem b/src/functions/number_fields/nfeltdivrem
index f2d5b6b..0133fe4 100644
--- a/src/functions/number_fields/nfeltdivrem
+++ b/src/functions/number_fields/nfeltdivrem
@@ -2,7 +2,7 @@ Function: nfeltdivrem
 Section: number_fields
 C-Name: nfdivrem
 Prototype: GGG
-Help: nfeltdivrem(nf,x,y): gives [q,r] such that r=x-by is small.
+Help: nfeltdivrem(nf,x,y): gives [q,r] such that r=x-qy is small.
 Doc: given two elements $x$ and $y$ in
  \var{nf}, gives a two-element row vector $[q,r]$ such that $x=qy+r$, $q$ is
  an algebraic integer in $\var{nf}$, and the components of $r$ are
diff --git a/src/functions/number_fields/nfeltmod b/src/functions/number_fields/nfeltmod
index e88c41f..ce2cfaa 100644
--- a/src/functions/number_fields/nfeltmod
+++ b/src/functions/number_fields/nfeltmod
@@ -2,7 +2,7 @@ Function: nfeltmod
 Section: number_fields
 C-Name: nfmod
 Prototype: GGG
-Help: nfeltmod(nf,x,y): gives r such that r=x-by is small with q algebraic
+Help: nfeltmod(nf,x,y): gives r such that r=x-qy is small with q algebraic
  integer.
 Doc:
  given two elements $x$ and $y$ in
diff --git a/src/test/32/compat b/src/test/32/compat
index e7f1be0..c0e0c4d 100644
--- a/src/test/32/compat
+++ b/src/test/32/compat
@@ -2720,7 +2720,7 @@ A function with that name existed in GP-1.39.15. Please update your script.
 
 New syntax: nfdiveuc(nf,a,b) ===> nfeltdiveuc(nf,a,b)
 
-nfdiveuc(nf,x,y): gives algebraic integer q such that x-by is small.
+nfdiveuc(nf,x,y): gives algebraic integer q such that x-qy is small.
 
 
   ***   at top-level: nfdivres()
@@ -2730,7 +2730,7 @@ A function with that name existed in GP-1.39.15. Please update your script.
 
 New syntax: nfdivres(nf,a,b) ===> nfeltdivrem(nf,a,b)
 
-nfeltdivrem(nf,x,y): gives [q,r] such that r=x-by is small.
+nfeltdivrem(nf,x,y): gives [q,r] such that r=x-qy is small.
 
 
   ***   at top-level: nfhermite()
@@ -2763,7 +2763,7 @@ A function with that name existed in GP-1.39.15. Please update your script.
 
 New syntax: nfmod(nf,a,b) ===> nfeltmod(nf,a,b)
 
-nfeltmod(nf,x,y): gives r such that r=x-by is small with q algebraic integer.
+nfeltmod(nf,x,y): gives r such that r=x-qy is small with q algebraic integer.
 
 
   ***   at top-level: nfmul()
-- 
2.0.5