Skip to content

Commit

Permalink
Update coincidencegroup_pcp.gi
Browse files Browse the repository at this point in the history
  • Loading branch information
stertooy authored Jan 6, 2025
1 parent 70a153b commit 8f009b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pcp/coincidencegroup_pcp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ CoincidenceGroupByFiniteQuotient@ := function( hom1, hom2, M )
hom2N := RestrictedHomomorphism( hom2, N, M );
tc := TwistedConjugation( hom1, hom2 );
gens := List( GeneratorsOfGroup( CoincidenceGroup2( hom1N, hom2N ) ) );
# TODO: save func's values in dictionary to avoid recalculation
func := function( qh )
local h, n;
h := PreImagesRepresentativeNC( q, qh );
Expand All @@ -76,9 +77,10 @@ CoincidenceGroupByFiniteQuotient@ := function( hom1, hom2, M )
end;
C := SubgroupByProperty( CoinHN, qh -> func( qh ) <> fail );
for qh in SmallGeneratingSet( C ) do
# TODO: pull values from dictionary (if present)
Add( gens, Product( func( qh ) ) );
od;
return Subgroup( H, gens );
return SubgroupNC( H, gens );
end;


Expand Down

0 comments on commit 8f009b8

Please sign in to comment.