-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
julia> Gray_code_minimum_distance(LinearCode(ToricCode(3).X_stabs))
(0, [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
Either the information sets are reduced to include a zero row, which is then picked out by a weight one element in the enumeration, or the enumeration vector happens to exactly contain the redundancies of the generators. In both cases, the all-zero vector appears to be a codeword.
Can probably be fixed easily by simply always using the standard form or calling _remove_empty(, :rows) for each information set depending on what the problem is. Using standard form should fix it in both cases.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working