aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/leadcdet.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-13 03:43:50 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-13 03:43:50 +0000
commit11eebf207528f86dfa4556be3b2cc7cba57244a6 (patch)
tree17c1ed9132ec874b14d2dcd137ac16a91e7a5b27 /src/algebra/leadcdet.spad.pamphlet
parent6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (diff)
downloadopen-axiom-11eebf207528f86dfa4556be3b2cc7cba57244a6.tar.gz
* src/algebra/: Systematically use not zero? when comparing for
equality with 0.
Diffstat (limited to 'src/algebra/leadcdet.spad.pamphlet')
-rw-r--r--src/algebra/leadcdet.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/leadcdet.spad.pamphlet b/src/algebra/leadcdet.spad.pamphlet
index 0c312914..7b7fb5a5 100644
--- a/src/algebra/leadcdet.spad.pamphlet
+++ b/src/algebra/leadcdet.spad.pamphlet
@@ -109,7 +109,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T
for k in 1..(# lpol) repeat
lexp.k=0 => "next factor"
h:= checkpow(vl.k,c)
- if h ~=0 then
+ if not zero? h then
if h>lexp.k then return "failed"
lexp.k:=lexp.k-h
aux.i := aux.i*(lpol.k ** h)