Skip to content

Commit 5051554

Browse files
authored
Miscellaneous tweaks (#6185)
1 parent 8177f1e commit 5051554

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

grp/classic.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ InstallMethod( GeneralUnitaryGroupCons,
150150

151151
# We use the isomorphism of 'SU(2,q)' and 'SL(2,q)':
152152
# 'e' is mapped to '-e' under the Frobenius mapping.
153-
e:= Z(q^2) - Z(q^2)^q;
153+
e:= z - z^q;
154154
if q = 2 then
155155
mat1[1,1]:= z;
156156
mat1[2,2]:= z;
@@ -255,7 +255,7 @@ InstallMethod( SpecialUnitaryGroupCons,
255255

256256
# We use the isomorphism of 'SU(2,q)' and 'SL(2,q)':
257257
# 'e' is mapped to '-e' under the Frobenius mapping.
258-
e:= Z(q^2) - Z(q^2)^q;
258+
e:= z - z^q;
259259
if q <= 3 then
260260
mat1[1,2]:= e;
261261
mat2[1,2]:= e;

lib/polyfinf.gi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -755,17 +755,17 @@ local v, R, U, x, O, n, g, q, o, bas;
755755
if Length(g[3])=0 and Length(g[4])>0 then
756756
# in this case `FFPOrderKnownDividend' might run in an infinite
757757
# recursion.
758-
Error("cannot compute order due to limits in the integer factorization!");
758+
Error("cannot compute order due to limits in the integer factorization!");
759759
fi;
760760
#o := FFPOrderKnownDividend(R,EuclideanRemainder(R,x,g[1]),g[1],g[3]);
761761
bas:=QuotRemLaurpols(x,g[1],2);
762762
o := FFPOrderKnownDividend(R,bas,g[1],g[3]);
763763
if Length(g[4])>0 then
764764
q:=DegreeOfLaurentPolynomial(PowerMod(bas,o[1],g[1]));
765765
if not(q=0 or q=DEGREE_ZERO_LAURPOL) then
766-
# in fact x^o[1] is not congruent to a constant -- we really need the
767-
# primes.
768-
Error("cannot compute order due to limits in the integer factorization!");
766+
# in fact x^o[1] is not congruent to a constant -- we really need the
767+
# primes.
768+
Error("cannot compute order due to limits in the integer factorization!");
769769
fi;
770770
fi;
771771
q := Characteristic(CoefficientsRing(R))^g[2];

lib/test.gi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,8 @@ BindGlobal("DefaultReportDiff", function(inp, expout, found, fnam, line, time)
633633
Print("# Input is:\n", inp);
634634
Print("# Expected output:\n", expout);
635635
Print("# But found:\n", found);
636-
Print("########\n"); fi;
636+
Print("########\n");
637+
fi;
637638
end);
638639

639640
InstallGlobalFunction("Test", function(arg)

0 commit comments

Comments
 (0)