-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SubgroupsSolvableGroup: honor retnorm for trivial groups
The function `SubgroupsSolvableGroup` with a trivial group as argument did not return the list of normalizers when called with the option `retnorm`. Co-authored-by: Max Horn <[email protected]>
- Loading branch information
1 parent
572594d
commit 2471da9
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Verify SubgroupsSolvableGroup honor retnorm=true if the | ||
# input is a trivial group. | ||
# See https://github.com/gap-system/gap/pull/4855 | ||
gap> G:=TrivialGroup(IsPermGroup); | ||
Group(()) | ||
gap> SubgroupsSolvableGroup(G); | ||
[ Group(()) ] | ||
gap> SubgroupsSolvableGroup(G, rec(retnorm:=true)); | ||
[ [ Group(()) ], [ Group(()) ] ] |