Skip to content

Commit d34622d

Browse files
authored
Fix the definition of PClassPGroup (#6169)
1 parent 41b3bdc commit d34622d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/grp.gd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ DeclareAttribute( "PrimePGroup", IsPGroup );
556556
## <Description>
557557
## The <M>p</M>-class of a <M>p</M>-group <A>G</A>
558558
## (see&nbsp;<Ref Prop="IsPGroup"/>)
559-
## is the length of the lower <M>p</M>-central series
559+
## is the number of steps in the lower <M>p</M>-central series
560560
## (see&nbsp;<Ref Oper="PCentralSeries"/>) of <A>G</A>.
561561
## If <A>G</A> is not a <M>p</M>-group then an error is issued.
562562
## </Description>
@@ -580,7 +580,9 @@ DeclareAttribute( "PClassPGroup", IsPGroup );
580580
## which is defined as the minimal size of a generating system of <A>G</A>.
581581
## If <A>G</A> is not a <M>p</M>-group then an error is issued.
582582
## <Example><![CDATA[
583-
## gap> h:=Group((1,2,3,4),(1,3));;
583+
## gap> h:= Group((1,2,3,4), (1,3));;
584+
## gap> Length(PCentralSeries(h));
585+
## 3
584586
## gap> PClassPGroup(h);
585587
## 2
586588
## gap> RankPGroup(h);

0 commit comments

Comments
 (0)