aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/pgcd.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/pgcd.spad.pamphlet')
-rw-r--r--src/algebra/pgcd.spad.pamphlet5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/algebra/pgcd.spad.pamphlet b/src/algebra/pgcd.spad.pamphlet
index f06e27af..edbbccb0 100644
--- a/src/algebra/pgcd.spad.pamphlet
+++ b/src/algebra/pgcd.spad.pamphlet
@@ -304,9 +304,8 @@ PolynomialGcdPackage(E,OV,R,P):C == T where
listpol:=listpol.rest
nolift:Boolean:=true
uf: SUP
- for fs in tails listpol while nolift repeat
- uf := first fs
- --note uf and d not necessarily primitive
+ for uf in listpol repeat
+ --note uf and d not necessarily primitive
degree gcd(uf,d) =0 => nolift:=false
nolift => ["notCoprime"]
f:SUPP:=([p1,p2]$List(SUPP)).(position(uf,listpol))