Skip to content

Commit

Permalink
FIX: Double cosets in niceomorph group
Browse files Browse the repository at this point in the history
This fixes #5539
  • Loading branch information
hulpke committed Dec 8, 2023
1 parent c6d3db2 commit 6241704
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/csetgrp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,9 @@ local c, flip, maxidx, cano, tryfct, p, r, t,
# in the normal case, we can obtain the other orbits easily via
# the orbit theorem (same stabilizer)
if Size(lst)/Size(st)<10 then
rt:=Orbit(lst,One(st),
# if the group `st` is handled by a nice monomorphism, the
# identity might not be the canonical element for the subgroup.
rt:=Orbit(lst,CanonicalRightCosetElement(st,One(st)),
function(rep,g) return CanonicalRightCosetElement(st,rep*g);end);
else
rt:=RightTransversal(lst,st:noascendingchain);
Expand Down
5 changes: 5 additions & 0 deletions tst/testbugfix/2023-12-07-DCoset.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Issue #5539
gap> T := SmallGroup( 4, 2 );;
gap> G := SmallGroup( 9, 2 );;
gap> A := AutomorphismGroup(T);;
gap> homs := AllHomomorphisms(G,A);;

0 comments on commit 6241704

Please sign in to comment.