Skip to content

Commit

Permalink
REBASE: Ensure cached GL niceo is defined on full GL.
Browse files Browse the repository at this point in the history
  • Loading branch information
hulpke committed Sep 6, 2018
1 parent 7bc15df commit e7778cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/grpffmat.gi
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,13 @@ InstallGlobalFunction( NicomorphismFFMatGroupOnFullSpace, function( grp )
nice:=First(FULLGLNICOCACHE,x->x[1]=V and x[2]=dim);
if nice<>fail then return nice[3];fi;

if not (HasIsNaturalGL(grp) and IsNaturalGL(grp)) then
grp:=GL(dim,field); # enforce map on full GL
fi;
V := field ^ dim;
xset := ExternalSet( grp, V );


# STILL: reverse the base to get point sorting compatible with lexicographic
# vector arrangement
SetBaseOfGroup( xset, One( grp ));
Expand Down

0 comments on commit e7778cc

Please sign in to comment.