Skip to content

Commit e7778cc

Browse files
committed
REBASE: Ensure cached GL niceo is defined on full GL.
1 parent 7bc15df commit e7778cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/grpffmat.gi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,13 @@ InstallGlobalFunction( NicomorphismFFMatGroupOnFullSpace, function( grp )
138138
nice:=First(FULLGLNICOCACHE,x->x[1]=V and x[2]=dim);
139139
if nice<>fail then return nice[3];fi;
140140

141+
if not (HasIsNaturalGL(grp) and IsNaturalGL(grp)) then
142+
grp:=GL(dim,field); # enforce map on full GL
143+
fi;
141144
V := field ^ dim;
142145
xset := ExternalSet( grp, V );
143146

147+
144148
# STILL: reverse the base to get point sorting compatible with lexicographic
145149
# vector arrangement
146150
SetBaseOfGroup( xset, One( grp ));

0 commit comments

Comments
 (0)