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

Commit 8ba64ee

Browse files
committed
add missing doctest for C(word)
1 parent 396f091 commit 8ba64ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sage/coding/linear_code.py

+2
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,8 @@ def encode(self, word, encoder_name=None, **kwargs):
16721672
sage: word = vector((0, 1, 1, 0))
16731673
sage: C.encode(word)
16741674
(1, 1, 0, 0, 1, 1, 0)
1675+
sage: C(word)
1676+
(1, 1, 0, 0, 1, 1, 0)
16751677
16761678
It is possible to manually choose the encoder amongst the list of the available ones::
16771679

0 commit comments

Comments
 (0)