Bug fixed in enum_matrix.