Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Method generator_matrix_systematic now uses the encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lucas committed Jun 16, 2016
1 parent 54b50b7 commit ebe977b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/coding/linear_code.py
Expand Up @@ -2208,7 +2208,7 @@ def generator_matrix_systematic(self):
[1 2 0]
[0 0 1]
"""
return self.generator_matrix().echelon_form()
return LinearCodeSystematicEncoder(self).generator_matrix()

@cached_method
def gens(self):
Expand Down

0 comments on commit ebe977b

Please sign in to comment.