~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refer to group elements by letters instead of numbers, in keeping
[sgt/puzzles]
/
unfinished
/
group.gap
diff --git
a/unfinished/group.gap
b/unfinished/group.gap
index
de916ba
..
280adf4
100644
(file)
--- a/
unfinished/group.gap
+++ b/
unfinished/group.gap
@@
-9,7
+9,7
@@
Print(" const struct group *groups;\n};\n\n");
Print("static const struct group groupdata[] = {\n");
offsets := [0];
offset := 0;
Print("static const struct group groupdata[] = {\n");
offsets := [0];
offset := 0;
-for n in [2..
31
] do
+for n in [2..
26
] do
Print(" /* order ", n, " */\n");
for G in AllSmallGroups(n) do
Print(" /* order ", n, " */\n");
for G in AllSmallGroups(n) do
@@
-72,7
+72,7
@@
for n in [2..31] do
fi;
sep := "\\0";
for i in ListPerm(x) do
fi;
sep := "\\0";
for i in ListPerm(x) do
- chars := "
123456789
ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ chars := "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Add(s, chars[i]);
od;
od;
Add(s, chars[i]);
od;
od;