Skip to content

Minimum distance failing for certain overcomplete matrices #23

@esabo

Description

@esabo
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 working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions