@@ -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;
34023402end ;
0 commit comments