# HG changeset patch
# User Dmitrii Pasechnik <dimpase@gmail.com>
# Date 1367040448 -28800
# Node ID 0d01edc432cd45c5591f12a91734577405e99a98
# Parent 22885f3a6663fc6cc3c9dd2f1856e5b446c7402c
canonizing sets
diff --git a/sage/graphs/generators/smallgraphs.py b/sage/graphs/generators/smallgraphs.py
a
|
b
|
|
1129 | 1129 | g = Graph(name="Cameron Graph") |
1130 | 1130 | sets = MathieuGroup(22).orbit((1,2,3,7,10,20), action = "OnSets") |
1131 | 1131 | for s in sets: |
1132 | | for a,b,c,d in combinations(s,4): |
| 1132 | for a,b,c,d in combinations(set(s),4): |
1133 | 1133 | g.add_edges([((a,b),(c,d)),((a,c),(b,d)), ((a,d),(b,c))]) |
1134 | 1134 | |
1135 | 1135 | g.relabel() |