Skip to content

Commit

Permalink
Further github remarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
hulpke committed Apr 24, 2018
1 parent eb2aed2 commit 718a107
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
2 changes: 2 additions & 0 deletions lib/grp.gd
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,8 @@ InstallFactorMaintenance( IsSolvableGroup,
InstallTrueMethod( IsSolvableGroup, IsMonomialGroup );
InstallTrueMethod( IsSolvableGroup, IsSupersolvableGroup );

InstallTrueMethod( HasIsPerfectGroup, IsGroup and IsSolvableGroup and IsNonTrivial );


#############################################################################
##
Expand Down
7 changes: 0 additions & 7 deletions lib/grp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,6 @@ InstallMethod( IsNilpotentGroup,
##
#M IsPerfectGroup( <G> ) . . . . . . . . . . . . test if a group is perfect
##
# This used to be an immediate method. It was replaced by a TrueMethod (in
# the gd file)
#InstallImmediateMethod( IsPerfectGroup,
# IsSolvableGroup and HasIsTrivial,
# 0,
# IsTrivial );

InstallImmediateMethod( IsPerfectGroup,
IsGroup and HasIsAbelian and IsSimpleGroup,
0,
Expand Down
17 changes: 7 additions & 10 deletions tst/testinstall/coll.tst
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,13 @@ Error, cannot test whether <C> contains the family of its elements
# Size
#

# test removed as immediate method removed
## immediate method for collections knowing they are infinite
#gap> c2:=ConjugacyClass(F, F.1);;
#gap> HasSize(c2);
#false
#gap> SetIsFinite(c2, false);
#gap> HasSize(c2);
#true
#gap> Size(c2);
#infinity
## method for collections knowing they are infinite
gap> c2:=ConjugacyClass(F, F.1);;
gap> HasSize(c2);
false
gap> SetIsFinite(c2, false);
gap> Size(c2);
infinity

# immediate method for collections with HasAsList
gap> M2:=Magma(0, 1);;
Expand Down

0 comments on commit 718a107

Please sign in to comment.