aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/leadcdet.spad.pamphlet
diff options
context:
space:
mode:
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)