1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-11 15:01:31 +01:00
This commit is contained in:
kalmar 2017-07-17 09:39:46 +02:00
parent 680d888b68
commit aec153ca21

View File

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