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.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/pgcd.spad.pamphlet b/src/algebra/pgcd.spad.pamphlet
index edbbccb0..2caf53de 100644
--- a/src/algebra/pgcd.spad.pamphlet
+++ b/src/algebra/pgcd.spad.pamphlet
@@ -322,7 +322,7 @@ PolynomialGcdPackage(E,OV,R,P):C == T where
df:=degree f
leadlist:List(P):=[]
- if lgcd~=1 then
+ if not one? lgcd then
leadpol:=true
f:=lgcd*f
ldeg:=[n0+n1 for n0 in ldeg for n1 in degree(lgcd,lvar)]