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

Random source for additive cosets, grpnice and external orbits #2272

Merged

Conversation

grouptheoryenthusiast
Copy link
Contributor

This begins to address some of the points raised in issue #1098 .
In particular we:

  • Change Random for Additive Cosets to use InstallWithRandomSource.
  • Add tests for Random on Additive Cosets into random.tst .
  • Add a missing comma in coll.gi.

- Changing Random for Additive Cosets to use InstallWithRandomSource.
- Adding tests for Random on Additive Cosets ino random.tst .
- Adding a missing comma in coll.gi.
Adding InstallWithRandomSource for grpnice.
All other changes had already been implemented, and suitable tests
already existed.
@ChrisJefferson
Copy link
Contributor

Thanks, this looks great. I'll just wait for the tests to cycle.

Thanks for poking at this fairly horrible area. Hopefully translating other random methods is going to get easier from here!

-Changing Random for external orbits to use install with random
 source.
- Adding tests.
@grouptheoryenthusiast
Copy link
Contributor Author

@ChrisJefferson thank you :) - it did end up being trickier than I had expected.
I have a few more changes I was working on which I will add into this PR in a few minutes.

@grouptheoryenthusiast grouptheoryenthusiast changed the title Random source for additive cosets Random source for additive cosets , grpnice and external orbits Mar 20, 2018
@codecov
Copy link

codecov bot commented Mar 20, 2018

Codecov Report

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

@@            Coverage Diff             @@
##           master    #2272      +/-   ##
==========================================
+ Coverage   70.86%   70.86%   +<.01%     
==========================================
  Files         480      480              
  Lines      253246   253266      +20     
==========================================
+ Hits       179455   179484      +29     
+ Misses      73791    73782       -9
Impacted Files Coverage Δ
lib/grpnice.gi 84.49% <ø> (ø) ⬆️
lib/coll.gi 94.62% <ø> (ø) ⬆️
lib/addcoset.gi 47.22% <100%> (+8.33%) ⬆️
lib/oprt.gi 73.26% <100%> (+0.23%) ⬆️
src/hpc/traverse.c 94.97% <0%> (-0.51%) ⬇️
src/funcs.c 79.37% <0%> (-0.14%) ⬇️
src/io.c 61.33% <0%> (-0.09%) ⬇️
src/trans.c 98.71% <0%> (ø) ⬆️
src/cyclotom.c 94.51% <0%> (+0.11%) ⬆️
lib/permutat.g 81.06% <0%> (+2.99%) ⬆️
... and 2 more

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.

LGTM

@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: library labels Mar 20, 2018
@fingolfin fingolfin added this to the GAP 4.10.0 milestone Mar 20, 2018
@fingolfin fingolfin changed the title Random source for additive cosets , grpnice and external orbits Random source for additive cosets, grpnice and external orbits Mar 21, 2018
@fingolfin fingolfin merged commit 7773ade into gap-system:master Mar 21, 2018
@grouptheoryenthusiast grouptheoryenthusiast deleted the fix/master/rs_addcoset branch March 21, 2018 14:28
@fingolfin fingolfin added the release notes: added PRs introducing changes that have since been mentioned in the release notes label Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements 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.

3 participants