aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/sttaylor.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-12 22:56:37 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-12 22:56:37 +0000
commit6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (patch)
tree28ff587bbc4d759dd0e3f96b156700ff01ba8c53 /src/algebra/sttaylor.spad.pamphlet
parenta2e3e641bdbcb6e77bbb572aea25a748a967abca (diff)
downloadopen-axiom-6c75a87d8ee00d48a0f5703aa9c86591078a50d3.tar.gz
* src/algebra/: Systematically use not one? when comparing for
equality with 1.
Diffstat (limited to 'src/algebra/sttaylor.spad.pamphlet')
-rw-r--r--src/algebra/sttaylor.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/sttaylor.spad.pamphlet b/src/algebra/sttaylor.spad.pamphlet
index 2de808ad..a3ddc781 100644
--- a/src/algebra/sttaylor.spad.pamphlet
+++ b/src/algebra/sttaylor.spad.pamphlet
@@ -558,7 +558,7 @@ Finally, we return the result with the correct order.
powerre: (A,ST A,ST A) -> ST A
powerre(s,x,c) == delay
empty? x => zro()
- frst x~=1 => error "**:constant coefficient should be 1"
+ not one? frst x => error "**:constant coefficient should be 1"
concat(frst x,finteg((s+1)*(c*deriv x))-rst x * c)
power(s,x) == YS(powerre(s,x,#1))