matrix_repr can be computed for any g::GroupElem

This commit is contained in:
kalmar 2017-06-09 22:05:02 +02:00
parent 7510198187
commit 3f33cd69b8

View File

@ -108,7 +108,7 @@ end
#
###############################################################################
function matrix_repr(g::WreathProductElem, E, E_dict)
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)]