Skip to content

Commit

Permalink
Don't rely on hidden impls in certain method installations
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Mar 3, 2018
1 parent 4f82763 commit dc5bfbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ghom.gd
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ InstallAttributeMethodByGroupGeneralMappingByImages :=
[ IsGroupGeneralMappingByAsGroupGeneralMappingByImages ], 0,
hom -> attr( AsGroupGeneralMappingByImages( hom ) ) );
InstallMethod( attr, "get delayed set attribute values", true,
[ HasMappingOfWhichItIsAsGGMBI ],
[ IsGroupGeneralMapping and HasMappingOfWhichItIsAsGGMBI ],
SUM_FLAGS-1, # we want to do this before doing any calculations
function(hom)
hom:=MappingOfWhichItIsAsGGMBI( hom );
Expand Down
2 changes: 1 addition & 1 deletion lib/grppcatr.gi
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ end);
#M GeneratorsSmallest(<pcgrp>)
##
InstallMethod(GeneratorsSmallest,"group of pc words which is full family",
true, [HasFamilyPcgs],0,
true, [IsGroup and HasFamilyPcgs],0,
function(G)
local pcgs,gens,U,e,i,j,pa,ros,smallpcgs,exp;

Expand Down

0 comments on commit dc5bfbe

Please sign in to comment.