Skip to content

Commit

Permalink
FIX: Correct subspace inclusion -- larger space is not necc. triag.
Browse files Browse the repository at this point in the history
  • Loading branch information
hulpke committed Oct 8, 2016
1 parent b58d589 commit b05b1b3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/grppcaut.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ local spaceincl,outvecs,l,sub,yet,i,j,k,s,t,new,incl,min,rans,sofar,done,
end;

spaceincl:=function(big,small)
return big=canonicalform(Concatenation(big,small));
return canonicalform(big)=canonicalform(Concatenation(big,small));
end;

outvecs:=function(space,new)
Expand Down Expand Up @@ -1120,6 +1120,7 @@ local spaceincl,outvecs,l,sub,yet,i,j,k,s,t,new,incl,min,rans,sofar,done,
new:=outvecs(sub,spaces[i]);
Add(rans,[Length(sofar)+1..Length(sofar)+Length(new)]);
Append(sofar,new);
if Length(sofar)>RankMat(sofar) then Error("ENA");fi;
fi;
od;

Expand Down
13 changes: 13 additions & 0 deletions tst/teststandard/grpauto.tst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ fail
gap> IsomorphismGroups(G,PcGroupCode(CodePcGroup(G),Size(G)))=fail;
false

#
# Many Spaces
#

gap> G:=PcGroupCode(338681823291028181778801710348121147721184790127576437,
> 29160);;
gap> H:=PcGroupCode(338681822494525443798297952136327929199594863010776437,
> 29160);;
gap> IsomorphismGroups(G,H);
fail
gap> IsomorphismGroups(G,PcGroupCode(CodePcGroup(G),Size(G)))=fail;
false

#
# hard-iso3
#
Expand Down

0 comments on commit b05b1b3

Please sign in to comment.