@@ -968,15 +968,15 @@ local nam,e,efactors,par,expo,prime,result,aut,i,classical,classaut,shortname,
968968 local s;
969969 if IsCyclic(gp) then
970970 return String(Size(gp));
971- elif IdGroup (gp)= [ 4 , 2 ] then
971+ elif Size (gp)= 4 then
972972 return " 2^2" ;
973- elif IdGroup (gp)= [ 6 , 1 ] then
973+ elif Size (gp)= 6 then
974974 return " 3.2" ;
975- elif IdGroup (gp)= [ 8 , 3 ] then
975+ elif Size (gp)= 8 and IsDihedralGroup(gp) then
976976 return " 2^2.2" ;
977- elif IdGroup (gp)= [ 9 , 2 ] then
977+ elif Size (gp)= 9 then
978978 return " 3^2" ;
979- elif IdGroup (gp)= [ 18 , 3 ] then
979+ elif Size (gp)= 18 and Size(DerivedSubgroup(gp)) = 3 then
980980 return " 3^2.2" ;
981981 elif Size(gp)<= 31 or Size(gp) in [ 33 .. 47 ] then
982982 s:= StructureDescription(gp);
@@ -1163,18 +1163,18 @@ local nam,e,efactors,par,expo,prime,result,aut,i,classical,classaut,shortname,
11631163 if efactors<> fail and Size(classaut)<> Product(efactors) then
11641164 Error(" outer automorphism efactor fail" );
11651165 fi ;
1166- if IdGroup (classaut)= [ 4 , 2 ] then
1166+ if Size (classaut)= 4 and not IsCyclic(classaut) then
11671167 # subgroup classes V4
11681168 e:= [[ 2 ," 2_1" ] ,[ 2 ," 2_2" ] ,[ 2 ," 2_3" ] ,[ 4 ," 2^2" ]] ;
1169- elif IdGroup (classaut)= [ 6 , 1 ] then
1169+ elif Size (classaut)= 6 and not IsCyclic(classaut) then
11701170 # subgroup classes S_3
11711171 e:= [ [ 2 , " 2" ] , [ 3 , " 3" ] , [ 6 , " 3.2" ] ] ;
1172- elif IdGroup (classaut)= [ 12 , 4 ] then
1172+ elif Size (classaut)= 12 and IsDihedralGroup(classaut) then
11731173 # subgroup classes 2\times S_3 (since S3 cannot act on C2)
11741174 e:= [ [ 2 , " 2_1" ] , [ 2 , " 2_2" ] , [ 2 , " 2_3" ] , [ 3 , " 3" ] ,
11751175 [ 4 , " 2^2" ] , [ 6 , " 3.2_1" ] , [ 6 , " 3.2_2" ] , [ 6 , " 6" ] ,
11761176 [ 12 , " 3.2^2" ] ] ;
1177- elif IdGroup (classaut)= [ 24 , 12 ] then
1177+ elif Size (classaut)= 24 and Size(DerivedSubgroup(classaut)) = 12 then
11781178 # subgroup classes S_4
11791179 e:= [ [ 2 , " 2_1" ] ,[ 2 , " 2_2" ] , [ 3 , " 3" ] ,
11801180 [ 4 , " 4" ] , [ 4 , " (2^2)_{111}" ] , [ 4 ," (2^2)_{122}" ] ,
0 commit comments