aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/listgcd.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
commit001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch)
treeda9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/listgcd.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/listgcd.spad.pamphlet')
-rw-r--r--src/algebra/listgcd.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/listgcd.spad.pamphlet b/src/algebra/listgcd.spad.pamphlet
index f626adbd..2f4ccde4 100644
--- a/src/algebra/listgcd.spad.pamphlet
+++ b/src/algebra/listgcd.spad.pamphlet
@@ -78,7 +78,7 @@ HeuGcd (BP):C == T
--compute the height of a polynomial
height(f:BP):PI ==
k:PI:=1
- while f^=0 repeat
+ while f~=0 repeat
k:=max(k,abs(leadingCoefficient(f)@Z)::PI)
f:=reductum f
k
@@ -88,7 +88,7 @@ HeuGcd (BP):C == T
genpoly(dval:Z,value:PI):BP ==
d:=0$BP
val:=dval
- for i in 0.. while (val^=0) repeat
+ for i in 0.. while (val~=0) repeat
val1:=negShiftz(val rem value,value)
d:= d+monomial(val1,i)
val:=(val-val1) quo value