diff options
author | dos-reis <gdr@axiomatics.org> | 2011-03-12 22:56:37 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-03-12 22:56:37 +0000 |
commit | 6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (patch) | |
tree | 28ff587bbc4d759dd0e3f96b156700ff01ba8c53 /src/algebra/mathml.spad.pamphlet | |
parent | a2e3e641bdbcb6e77bbb572aea25a748a967abca (diff) | |
download | open-axiom-6c75a87d8ee00d48a0f5703aa9c86591078a50d3.tar.gz |
* src/algebra/: Systematically use not one? when comparing for
equality with 1.
Diffstat (limited to 'src/algebra/mathml.spad.pamphlet')
-rw-r--r-- | src/algebra/mathml.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/mathml.spad.pamphlet b/src/algebra/mathml.spad.pamphlet index ba186863..086d0d0f 100644 --- a/src/algebra/mathml.spad.pamphlet +++ b/src/algebra/mathml.spad.pamphlet @@ -1023,7 +1023,7 @@ have to be switched by swapping names. atomE : L E := atomize(expr) op : S := stringify first atomE op ~= "SUPERSUB" => "<mtext>Mistake in formatSuperSub: no SUPERSUB1</mtext>" - #args ~= 1 => "<mtext>Mistake in SuperSub1: #args <> 1</mtext>" + not one?(#args) => "<mtext>Mistake in SuperSub1: #args <> 1</mtext>" var : E := first args -- should be looking at something like {{SUPERSUB}{var}{ }{,,...,}} for -- example here's the second derivative of y w.r.t. x @@ -1052,7 +1052,7 @@ have to be switched by swapping names. atomE : L E := atomize(expr) op : S := stringify first atomE op ~= "SUPERSUB" => "<mtext>Mistake in formatSuperSub: no SUPERSUB</mtext>" - #args ~= 1 => "<mtext>Mistake in SuperSub: #args <> 1</mtext>" + not one?(#args) => "<mtext>Mistake in SuperSub: #args <> 1</mtext>" var : E := first args -- should be looking at something like {{SUPERSUB}{var}{ }{,,...,}} for -- example here's the second derivative of y w.r.t. x |