aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/multfact.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/multfact.spad.pamphlet')
-rw-r--r--src/algebra/multfact.spad.pamphlet6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/multfact.spad.pamphlet b/src/algebra/multfact.spad.pamphlet
index b6009e97..de704ea2 100644
--- a/src/algebra/multfact.spad.pamphlet
+++ b/src/algebra/multfact.spad.pamphlet
@@ -325,7 +325,7 @@ InnerMultFact(OV,E,R,P) : C == T
lpol:= dist.polfac
dd := dist.correct
unifact:=dist.corrfact
- if dd~=1 then
+ if not one? dd then
-- if polcase then lpol := [unitCanonical lp for lp in lpol]
-- dd:=unitCanonical(dd)
unifact := [dd * unif for unif in unifact]
@@ -334,7 +334,7 @@ InnerMultFact(OV,E,R,P) : C == T
(ffin:=lifting(umd,lvar,unifact,lval,lpol,ldeg,pmod))
case "failed" => intfact(um,lvar,ldeg,tleadpol,ltry,ufactor)
factfin: L USP:=ffin :: L USP
- if dd~=1 then
+ if not one? dd then
factfin:=[primitivePart ff for ff in factfin]
factfin
@@ -425,7 +425,7 @@ InnerMultFact(OV,E,R,P) : C == T
x := lvar.first
lvar := lvar.rest
pc:= gcd coefficients um
- if pc~=1 then
+ if not one? pc then
um:=(um exquo pc)::USP
ffactor:=multivariate(um,x)
for lcterm in mFactor(pc,ufactor).factors repeat