Skip to content

Commit abb8103

Browse files
authored
Fix Extensions for nonsolvable group and trivial cohomology (#5908)
1 parent 0eda22b commit abb8103

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/twocohom.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ InstallOtherMethod(Extensions,"generic method for finite groups",
20262026
function(G,M)
20272027
local coh;
20282028
coh:=TwoCohomologyGeneric(G,M);
2029-
return List(Elements(VectorSpace(coh.module.field,coh.cohomology)),
2029+
return List(Elements(VectorSpace(coh.module.field,coh.cohomology,coh.zero)),
20302030
x->FpGroupCocycle(coh,x,true:normalform));
20312031
end);
20322032

tst/teststandard/twocohom.tst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ gap> cp:=CompatiblePairs(g,mo);
5858
<group of size 240 with 4 generators>
5959
gap> Length(ExtensionRepresentatives(g,mo,cp));
6060
2
61+
gap> mo:= TrivialGModule( g, GF(3) );;
62+
gap> Length( Extensions( g, mo ) );
63+
1
6164

6265
# New code for Pc groups
6366
gap> g:=AbelianGroup([2,2]);;

0 commit comments

Comments
 (0)