File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -143,16 +143,21 @@ end );
143143InstallMethod( NiceMonomorphism, " falling back on GL" , true ,
144144 [ IsFFEMatrixGroup and IsFinite ] , 0 ,
145145function ( grp )
146+ local tt;
146147 # is it GL?
147148 if (HasIsNaturalGL( grp ) and IsNaturalGL( grp ))
148149 or (HasIsNaturalSL( grp ) and IsNaturalSL( grp )) then
149150 return NicomorphismFFMatGroupOnFullSpace(grp);
150151 fi ;
151152
152- # is the GL domain small enough to simply use it?
153+ # is the GL domain small enough in comparison to the group to simply use it?
154+ tt:= 2000 ;
155+ if HasSize(grp) and Size(grp)< tt then
156+ tt:= Size(grp);
157+ fi ;
153158 if IsTrivial(grp)
154- or Size(FieldOfMatrixGroup(Parent(grp)))^ DimensionOfMatrixGroup(grp)
155- > 2000 then
159+ or Size(FieldOfMatrixGroup(Parent(grp)))^ DimensionOfMatrixGroup(grp)> tt
160+ then
156161 # if the permutation image would be too large, compute the orbit.
157162 TryNextMethod ();
158163 fi ;
You can’t perform that action at this time.
0 commit comments