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/ghensel.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/ghensel.spad.pamphlet')
-rw-r--r-- | src/algebra/ghensel.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/ghensel.spad.pamphlet b/src/algebra/ghensel.spad.pamphlet index b5a1c513..baf7e85c 100644 --- a/src/algebra/ghensel.spad.pamphlet +++ b/src/algebra/ghensel.spad.pamphlet @@ -127,7 +127,7 @@ GeneralHenselPackage(RP,TP):C == T where dfn :NonNegativeInteger := nm lcm1 := leadingCoefficient m mm := lcm1*m - while dfn>0 and (factlist := genFact(fln,factlist))~=[] repeat + while positive? dfn and (factlist := genFact(fln,factlist))~=[] repeat auxfl := [] while factlist~=[] repeat auxl := factlist.first @@ -153,7 +153,7 @@ GeneralHenselPackage(RP,TP):C == T where factlist := [term for term in factlist | not member?(poly,term)] fln := aux factlist := auxfl - if dfn > 0 then finallist := cons(m,finallist) + if positive? dfn then finallist := cons(m,finallist) finallist @ |