-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PQuotient error for large groups.
- Return fail in AbelianPQuotient if not enough generators for current parameters (logord in PQuotient, or #gens in collector of QuotientSystem qs) - Return fail or error in PQuotient for large groups, depending on option noninteractive - Update documentation of PQuotient - Add test for bugfix
- Loading branch information
1 parent
520a378
commit 2087635
Showing
3 changed files
with
47 additions
and
9 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
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,16 @@ | ||
# see <https://github.com/gap-system/gap/issues/5809> | ||
gap> F := FreeGroup(["a", "b"]);; | ||
gap> a := F.1;; | ||
gap> b := F.1;; | ||
gap> p := 5;; | ||
gap> G := F / [a^p, b^p, Comm(a,b)];; | ||
gap> PQuotient(G, p, 1, 2 : noninteractive) <> fail; | ||
true | ||
gap> PQuotient(G, p, 1, 1 : noninteractive) = fail; | ||
true | ||
|
||
# | ||
gap> PQuotient( FreeGroup(2), 5, 10, 520 : noninteractive ) <> fail; | ||
true | ||
gap> gPQuotient( FreeGroup(2), 5, 10, 519 : noninteractive ) = fail; | ||
true |