Results seem sensible

This commit is contained in:
Florian Stecker
2016-11-23 20:58:05 +01:00
parent c4824abafd
commit 1e0959b7ce
6 changed files with 316 additions and 89 deletions

10
weyl.c
View File

@@ -283,10 +283,10 @@ void weyl_cartan_matrix(semisimple_type_t type, int *m)
}
break;
case 'B': // not sure at all about the order of B and C
case 'B': // not sure at all about the order of B and C
if(type.factors[k].rank >= 2) {
A[0][1] = -1;
A[1][0] = -2;
A[0][1] = -2;
A[1][0] = -1;
}
for(int i = 2; i < type.factors[k].rank; i++) {
A[i][i-1] = -1;
@@ -296,8 +296,8 @@ void weyl_cartan_matrix(semisimple_type_t type, int *m)
case 'C':
if(type.factors[k].rank >= 2) {
A[0][1] = -2;
A[1][0] = -1;
A[0][1] = -1;
A[1][0] = -2;
}
for(int i = 2; i < type.factors[k].rank; i++) {
A[i][i-1] = -1;