-
Notifications
You must be signed in to change notification settings - Fork 126
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
rename and change some *_reps
functions
#3291
rename and change some *_reps
functions
#3291
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #3291 +/- ##
=======================================
Coverage 81.60% 81.60%
=======================================
Files 546 546
Lines 73504 73495 -9
=======================================
- Hits 59980 59973 -7
+ Misses 13524 13522 -2
|
But if we do this then these functions behave inconsistent with I'll discuss this some more with @fieker later. |
@fingolfin Thanks for your comment. |
4a28239
to
54bf796
Compare
After the discussion of #3265, what about the names (If we take this solution then only |
That would be fine by me. As a variation (possibly for a future PR, |
54bf796
to
71169c1
Compare
``` | ||
""" | ||
function complement_class_reps(G::T, N::T) where T <: GAPGroup | ||
return _as_subgroups(G, GAP.Globals.ComplementClassesRepresentatives(G.X, N.X)) | ||
function complement_classes(G::T, N::T) where T <: GAPGroup |
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.
This is one of those signatures that needs to be relaxed when we introduce SubPcGroupElem
, I guess...
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, and here we have also an example which is subtle in the sense that the result may be empty.
In this case, its type is that of an empty array of conjugacy classes of groups, where the type of each conjugacy class is parametrized by the types of the acting group and the representative. In the case of pc groups, the representatives will be of type SubPcGroup
, and the acting group can be either a PcGroup
or a SubPcGroup
.
aee2e7f
to
d0cc35f
Compare
Added "backport to 1.0" label as I need this for the book. |
- deprecate `conjugacy_classes_maximal_subgroups`, `maximal_subgroup_reps` - let `maximal_subgroups` return subgroup classes - adjust calls of these functions
and deprecate `subgroup_reps` and `subgroups` (the latter only for `GAPGroup`s)
for `*` one of `hall`, `maximal`, `low_index`
Why did I not get an error in the local build?
87fceac
to
4a02d18
Compare
### Backported PRs - [x] #3367 - [x] #3379 - [x] #3369 - [x] #3291 - [x] #3325 - [x] #3350 - [x] #3351 - [x] #3365 - [x] #3366 - [x] #3382 - [x] #3373 - [x] #3341 - [x] #3346 - [x] #3381 - [x] #3385 - [x] #3387 - [x] #3398 - [x] #3399 - [x] #3374 - [x] #3406 - [x] #2823 - [x] #3298 - [x] #3386 - [x] #3412 - [x] #3392 - [x] #3415 - [x] #3394 - [x] #3391
This is the non-controversial and non-breaking part of #3265:
Provide
complement_classes
instead ofcomplement_class_reps
,hall_subgroups
instead ofhall_subgroup_reps
,low_index_subgroups
instead oflow_index_subgroups_reps
.Each of the new functions returns a vector of subgroup classes.
Also move the outdated
hall_subgroup
todeprecations.jl
.