aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/algebra/radix.spad.pamphlet4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2525ae03..5521c226 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-17 Waldek Hebisch <hebisch@math.uni.wroc.pl>
+
+ Fix AW/374
+ * algebra/radix.spad.pamphlet (intgroup$RadixExpansion): Check for
+ big radix.
+
2008-10-17 Alfredo Portes <doyenatccny@gmail.com>
Fix AW/293
diff --git a/src/algebra/radix.spad.pamphlet b/src/algebra/radix.spad.pamphlet
index 7cee785e..5ae58510 100644
--- a/src/algebra/radix.spad.pamphlet
+++ b/src/algebra/radix.spad.pamphlet
@@ -174,7 +174,9 @@ RadixExpansion(bb): Exports == Implementation where
intgroup(li: List I): OUT ==
empty? li => error "intgroup needs non-null list"
- empty? rest li => intToExpr first(li)
+ empty? rest li =>
+ abs bb <= 36 intToExpr first(li)
+ first(li)::OUT
abs bb <= 10 => hconcat [i :: OUT for i in li]
abs bb <= 36 => hconcat [intToExpr(i) for i in li]
blankSeparate [i :: OUT for i in li]