Skip to content

Commit 98b857a

Browse files
committed
Documented that #36527 causes erroneous results & how to avoid
1 parent f0183d4 commit 98b857a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/sage/combinat/integer_vectors_mod_permgroup.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,19 @@ class IntegerVectorsModPermutationGroup(UniqueRepresentation):
175175
[[]]
176176
177177
178+
.. WARNING::
179+
180+
Because of :issue:`36527`, permutation groups that have
181+
different domains but similar generators can be erroneously
182+
treated as the same group. This will silently produce
183+
erroneous results. To avoid this issue, compute a strong
184+
generating system for the group as::
185+
186+
sgs = tuple(s for s in G.strong_generating_system())
187+
188+
and provide it as the optional `sgs` argument to the
189+
constructor.
190+
178191
TESTS:
179192
180193
Let us check that canonical integer vectors of the symmetric group

0 commit comments

Comments
 (0)