This commit is contained in:
kalmar 2017-07-17 09:39:46 +02:00
parent 680d888b68
commit aec153ca21
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ end
function matrix_repr(g::GroupElem, E, E_dict)
rep_matrix = spzeros(Int, length(E), length(E))
for (i,e) in enumerate(E)
j = E_dict[g(e)]
for (i,elt) in enumerate(E)
j = E_dict[g(elt)]
rep_matrix[i,j] = 1
end
return rep_matrix