aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/space.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/space.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/space.spad.pamphlet')
-rw-r--r--src/algebra/space.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/space.spad.pamphlet b/src/algebra/space.spad.pamphlet
index 6d688e47..60d4a13e 100644
--- a/src/algebra/space.spad.pamphlet
+++ b/src/algebra/space.spad.pamphlet
@@ -616,7 +616,7 @@ ThreeSpace(R:Ring):Exports == Implementation where
numCurves := numCurves + 1
(#kid = 2) and _
(#children first kid = 1) and _
- (#children first rest kid ~= 1) =>
+ not one?(#children first rest kid) =>
numPolys := numPolys + 1
numConstructs := numConstructs + 1
-- otherwise, a mathematical surface is assumed