-
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
Added more specialised function for testing conjugacy of subgroups of Sn #3231
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, since IsConjugate
exists as separarte function, the special symmetric group method should be used also here.
Moved tst file to right location Added comments in testfile Changed comments Changed result for PerfectResiduum
Codecov Report
@@ Coverage Diff @@
## master #3231 +/- ##
==========================================
+ Coverage 84.75% 84.76% +0.01%
==========================================
Files 689 689
Lines 336391 336400 +9
==========================================
+ Hits 285107 285158 +51
+ Misses 51284 51242 -42
|
Looks good. I'll just let all the tests cycle. |
@@ -0,0 +1,14 @@ | |||
# The following two test use the new version for natural symmetric group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the new version" of what/? Just looking at this file doesn't make that clear. How about something more like this:
This file tests an
IsConjugate
method for natural symmetric groups, and its various cases.
gap> IsConjugate( SymmetricGroup(200),PrimitiveGroup(200,4), PrimitiveGroup(200,3)); | ||
false | ||
|
||
# Here, using SubgpConjSymmgp yields a significant speedup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... compared to what?
Thanks, this is an improvement. However, the test file comments could have been better... :) When writing comments, never forget that a person reading a comment will usually not have the commit which added them as context, nor do they know anything about the motivation for writing the code in the first place. |
Directly using
SubgpConjSymmgp
as a specialized method when testing two subgroups of a natural symmetric group for conjugacy in the full symmetric group often yields a speedup as for example in the last case in the test file.