Skip to content

Commit

Permalink
Fix IsNilpotentGroup: infinite does not imply "not p-group"
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Sep 27, 2018
1 parent b509e59 commit 6c85b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ InstallMethod( IsNilpotentGroup,
elif s = 1 then
SetIsPGroup( G, true );
return true;
else
elif s <> infinity then
SetIsPGroup( G, false );
fi;
TryNextMethod();
Expand Down

0 comments on commit 6c85b97

Please sign in to comment.