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

Commit

Permalink
add missing doctest for C(word)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementPernet committed Feb 7, 2017
1 parent 396f091 commit 8ba64ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/coding/linear_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,8 @@ def encode(self, word, encoder_name=None, **kwargs):
sage: word = vector((0, 1, 1, 0))
sage: C.encode(word)
(1, 1, 0, 0, 1, 1, 0)
sage: C(word)
(1, 1, 0, 0, 1, 1, 0)
It is possible to manually choose the encoder amongst the list of the available ones::
Expand Down

0 comments on commit 8ba64ee

Please sign in to comment.