aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/pade.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-12 19:17:32 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-12 19:17:32 +0000
commitc93e84048964194e5674e859d6bd8827010f09f6 (patch)
tree407ca23d232bf3f974550fce0175c49495ef49c0 /src/algebra/pade.spad.pamphlet
parent52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 (diff)
downloadopen-axiom-c93e84048964194e5674e859d6bd8827010f09f6.tar.gz
* src/algebra/: Systematically use negative? when comparing for
greater than 0.
Diffstat (limited to 'src/algebra/pade.spad.pamphlet')
-rw-r--r--src/algebra/pade.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/pade.spad.pamphlet b/src/algebra/pade.spad.pamphlet
index 08d7bdbc..f46e79e4 100644
--- a/src/algebra/pade.spad.pamphlet
+++ b/src/algebra/pade.spad.pamphlet
@@ -145,7 +145,7 @@ PadeApproximants(R,PS,UP): Exports == Implementation where
zero? gps => constInner 0
-- Normalize so numerator or denominator has constant term.
ldeg:= min(order dps,order gps)
- if ldeg > 0 then
+ if positive? ldeg then
dps := divOutDegree(dps,ldeg)
gps := divOutDegree(gps,ldeg)
padeInner(l,m,gps,dps)