aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/data.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-09-21 22:23:57 +0000
committerdos-reis <gdr@axiomatics.org>2009-09-21 22:23:57 +0000
commit8e4e9304074fff69226b86bdc16cfd617115cd99 (patch)
tree63a82e4a99089dd325f35bac6bc86467e3f989d3 /src/algebra/data.spad.pamphlet
parent31cfd568a21d4187e3ac8e19439fa59e69273619 (diff)
downloadopen-axiom-8e4e9304074fff69226b86bdc16cfd617115cd99.tar.gz
* algebra/data.spad.pamphlet (SystemInteger): Tidy.
* algebra/integer.spad.pamphlet (Integer): Likewise. * algebra/si.spad.pamphlet (IntegerNumberSystem): Likewise.
Diffstat (limited to 'src/algebra/data.spad.pamphlet')
-rw-r--r--src/algebra/data.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/data.spad.pamphlet b/src/algebra/data.spad.pamphlet
index e5de8656..7ad3e7bb 100644
--- a/src/algebra/data.spad.pamphlet
+++ b/src/algebra/data.spad.pamphlet
@@ -107,7 +107,7 @@ SystemInteger(N: PositiveInteger): Public == Private where
size() == (rep max - rep min + 1)::NonNegativeInteger
index i == per (i + rep min - 1)
lookup x == (rep x - rep min + 1)::PositiveInteger
- random() == per(random()$Integer rem rep max)
+ random() == per random(rep max())$Integer
@