Skip to content

Commit 0829bf4

Browse files
committed
Fix SMTX.InvariantSesquilinearForm for reducible case
... by deleting unnecessary 'normalization' (???) code.
1 parent c1513db commit 0829bf4

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

lib/meataxe.gi

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3384,19 +3384,19 @@ SMTX.InvariantSesquilinearForm:=function( module )
33843384
return fail;
33853385
fi;
33863386
# Replace iso by a scalar multiple to get iso twisted symmetric
3387-
q:=Size(module.field);
3388-
r:=RootInt(q,2);
3389-
isot:=List( TransposedMat(iso), x -> List(x, y->y^r) );
3390-
isot:=iso * isot^-1;
3391-
if not IsDiagonalMat(isot) then
3392-
Error("Form does not seem to be of the right kind (non-diagonal)!");
3393-
fi;
3394-
l:=LogFFE(isot[1,1],Z(q));
3395-
if l mod (r-1) <> 0 then
3396-
Error("Form does not seem to be of the right kind (not (q-1)st root)!");
3397-
fi;
3398-
iso:=Z(q)^(l/(r-1)) * iso;
3399-
iso:=ImmutableMatrix(GF(q), iso);
3387+
# q:=Size(module.field);
3388+
# r:=RootInt(q,2);
3389+
# isot:=List( TransposedMat(iso), x -> List(x, y->y^r) );
3390+
# isot:=iso * isot^-1;
3391+
# if not IsDiagonalMat(isot) then
3392+
# Error("Form does not seem to be of the right kind (non-diagonal)!");
3393+
# fi;
3394+
# l:=LogFFE(isot[1,1],Z(q));
3395+
# if l mod (r-1) <> 0 then
3396+
# Error("Form does not seem to be of the right kind (not (q-1)st root)!");
3397+
# fi;
3398+
# iso:=Z(q)^(l/(r-1)) * iso;
3399+
iso:=ImmutableMatrix(module.field, iso);
34003400
SMTX.SetInvariantSesquilinearForm(module, iso);
34013401
return iso;
34023402
end;

0 commit comments

Comments
 (0)