-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RankOfPartialPermSemigroup for groups #3038
Conversation
@wilfwilson are you sure that this had to be backported? I did it, and now with Semigroups package (version 3.0.20) loaded I observe this in the stable-4.10 branch:
|
@alex-konovalov Yes i wanted it to be backported to There are two reasons for this: in I have fixed the bug in Semigroups here: semigroups/Semigroups#565 and so this problem will go away once that is merged and the next version of Semigroups is released. If you are impatient for this test failure to be resolved, you could revert the backport to |
Thanks - if it's a matter of week until @james-d-mitchell will be making a new release of Semigroups, I'd rather wait till revert. |
Backporting of this change to stable-4.10 branch was reverted in 465d77e because we need to wait for the Semigroups package update first. |
Previously,
RankOfPartialPermSemigroup
for a group of partial permutations would give an unexpected error if theGeneratorsOfGroup
were empty (it delegated toRankOfPartialPermCollection(GeneratorsOfGroup(G))
). A simpler things to do for groups, and for monoids actually, is to callRankOfPartialPerm(One(G))
.Resolves #3037.