diff options
Diffstat (limited to 'src/algebra/multfact.spad.pamphlet')
-rw-r--r-- | src/algebra/multfact.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/multfact.spad.pamphlet b/src/algebra/multfact.spad.pamphlet index 376da187..b6009e97 100644 --- a/src/algebra/multfact.spad.pamphlet +++ b/src/algebra/multfact.spad.pamphlet @@ -117,7 +117,7 @@ InnerMultFact(OV,E,R,P) : C == T factorlist:L SUParFact :=empty() mdeg :=minimumDegree um ---- is the Mindeg > 0? ---- - if mdeg>0 then + if positive? mdeg then f1:USP:=monomial(1,mdeg) um:=(um exquo f1)::USP factorlist:=cons([monomial(1,1),mdeg],factorlist) @@ -383,7 +383,7 @@ InnerMultFact(OV,E,R,P) : C == T factorlist:L MParFact :=empty() lmdeg :=minimumDegree(m,lvar) ---- is the Mindeg > 0? ---- - or/[n>0 for n in lmdeg] => simplify(m,lvar,lmdeg,ufactor) + or/[positive? n for n in lmdeg] => simplify(m,lvar,lmdeg,ufactor) sqfacs := squareFree m lcont := unit sqfacs |