Skip to content
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 IsomorphismPartialPermSemigroup and Monoid for perm groups with 0 generators #1784

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

wilfwilson
Copy link
Member

This resolves #1783. Previously, these methods encountered unexpected errors for perm groups with 0 generators. This adds a special case for such groups.

Previously, these methods encountered unexpected errors for perm
groups with 0 generators. This adds a special case for such groups.

Resolves gap-system#1783
@wilfwilson wilfwilson added kind: bug Issues describing general bugs, and PRs fixing them topic: library kind: bug: unexpected error Issues describing bugs in which computation unexpectedly encounters an error, and PRs fixing them labels Oct 19, 2017
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot judge whether this is the "desired" or "expected" thing to do, but I guess @james-d-mitchell will comment on that.
Other than that, this PR looks plausible and sane.

@codecov
Copy link

codecov bot commented Oct 19, 2017

Codecov Report

Merging #1784 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1784      +/-   ##
==========================================
+ Coverage   62.83%   62.83%   +<.01%     
==========================================
  Files         969      969              
  Lines      295262   295267       +5     
  Branches    13055    13055              
==========================================
+ Hits       185516   185530      +14     
+ Misses     106943   106936       -7     
+ Partials     2803     2801       -2
Impacted Files Coverage Δ
lib/semipperm.gi 98.93% <100%> (+0.03%) ⬆️
src/hpc/threadapi.c 34.17% <0%> (-0.29%) ⬇️
src/funcs.c 71.82% <0%> (-0.15%) ⬇️
src/stats.c 75.47% <0%> (ø) ⬆️
src/pperm.c 78.18% <0%> (+0.04%) ⬆️
src/lists.c 56.71% <0%> (+0.11%) ⬆️
lib/magma.gi 48.52% <0%> (+0.19%) ⬆️
src/hpc/thread.c 47.03% <0%> (+0.19%) ⬆️
hpcgap/lib/hpc/stdtasks.g 38.87% <0%> (+0.25%) ⬆️
src/hpc/traverse.c 78.59% <0%> (+0.69%) ⬆️
... and 2 more

@james-d-mitchell
Copy link
Contributor

Looks good to me too.

@james-d-mitchell james-d-mitchell merged commit 124962f into gap-system:master Oct 26, 2017
@fingolfin
Copy link
Member

@james-d-mitchell please use "rebase" and not a merge (or if you use a merge, at least adjust the merge commit message; the first line should be meaningful (i.e. tell what the merge added) even on the command line, which "Merge pull request #1784 from wilfwilson/fix-1783" is not

@wilfwilson wilfwilson deleted the fix-1783 branch October 30, 2017 15:08
@olexandr-konovalov olexandr-konovalov added the release notes: added PRs introducing changes that have since been mentioned in the release notes label Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug: unexpected error Issues describing bugs in which computation unexpectedly encounters an error, and PRs fixing them kind: bug Issues describing general bugs, and PRs fixing them release notes: added PRs introducing changes that have since been mentioned in the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IsomorphismPartialPermSemigroup/Monoid does not work for a perm group with 0 generators
4 participants