En fix and wordlength output

This commit is contained in:
Florian Stecker
2017-03-10 14:40:08 +01:00
parent 97100eef20
commit 7dff4f8365
2 changed files with 15 additions and 3 deletions

4
weyl.c
View File

@@ -402,10 +402,10 @@ int weyl_opposition(semisimple_type_t type, int simple_root)
break;
case 'E':
if(type.factors[factor].rank == 6)
if(type.factors[factor].rank != 6)
iota_r = r;
else
iota_r = r == 3 || r == 4 ? r : 5 - r;
iota_r = r == 2 || r == 3 ? r : 5 - r;
break;
}