-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New tests for group constructors and some fixes #1053
Changes from all commits
b5c00b8
2227604
1b56939
cacf734
2b1ea6f
54ba846
ba25a69
fffc58a
f1c3f33
b504e59
48acf38
901749c
30227dc
3a85e11
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,7 +127,7 @@ local f,M2,o,e,MM,i; | |
end); | ||
|
||
BindGlobal("SPRingGeneric",function(n,ring) | ||
local t,geni,m,slmats,gens,f,rels,i,j,k,l,mat,mat1,mats,id,nh; | ||
local t,geni,m,slmats,gens,f,rels,i,j,k,l,mat,mat1,mats,id,nh,g; | ||
nh:=n; | ||
n:=2*n; | ||
t:=function(i,j) | ||
|
@@ -136,7 +136,7 @@ local t,geni,m,slmats,gens,f,rels,i,j,k,l,mat,mat1,mats,id,nh; | |
geni:=List([1..n],x->[]); | ||
mats:=[]; | ||
slmats:=[]; | ||
id:=IdentityMat(n,One(ring)); | ||
id:=IdentityMat(n,ring); | ||
m:=0; | ||
for i in [1..nh] do | ||
#t_{i,n+i} | ||
|
@@ -170,7 +170,10 @@ local t,geni,m,slmats,gens,f,rels,i,j,k,l,mat,mat1,mats,id,nh; | |
od; | ||
od; | ||
|
||
return Group(slmats); | ||
g := Group(slmats); | ||
mat := Concatenation(id{[nh+1..n]},-id{[1..nh]}); | ||
SetInvariantBilinearForm(g,rec(matrix:=mat)); | ||
return g; | ||
end); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm going to trust this is right.. I assume these is a test for it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes -- indeed, writing the tests for |
||
|
||
InstallGlobalFunction("ConstructFormPreservingGroup",function(arg) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
|
||
|
||
PERFRec := fail; # indicator that perf0.grp is not loaded | ||
PERFSELECT := []; | ||
PERFGRP := []; | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this code ever work, out of interest? What's that
true
supposed to do?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it worked until 814a0f6 broke it by making
List
validate its arguments more agressively. My guess is that thetrue
in there was an accident.