Skip to content

Commit

Permalink
Documented that sagemath#36527 causes erroneous results & how to avoid
Browse files Browse the repository at this point in the history
  • Loading branch information
jukkakohonen committed Dec 17, 2023
1 parent f0183d4 commit 98b857a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/sage/combinat/integer_vectors_mod_permgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,19 @@ class IntegerVectorsModPermutationGroup(UniqueRepresentation):
[[]]
.. WARNING::
Because of :issue:`36527`, permutation groups that have
different domains but similar generators can be erroneously
treated as the same group. This will silently produce
erroneous results. To avoid this issue, compute a strong
generating system for the group as::
sgs = tuple(s for s in G.strong_generating_system())
and provide it as the optional `sgs` argument to the
constructor.
TESTS:
Let us check that canonical integer vectors of the symmetric group
Expand Down

0 comments on commit 98b857a

Please sign in to comment.