diff options
author | dos-reis <gdr@axiomatics.org> | 2011-03-12 19:17:32 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-03-12 19:17:32 +0000 |
commit | c93e84048964194e5674e859d6bd8827010f09f6 (patch) | |
tree | 407ca23d232bf3f974550fce0175c49495ef49c0 /src/algebra/multfact.spad.pamphlet | |
parent | 52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 (diff) | |
download | open-axiom-c93e84048964194e5674e859d6bd8827010f09f6.tar.gz |
* src/algebra/: Systematically use negative? when comparing for
greater than 0.
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 |