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

Commit

Permalink
fixed the docstring to match the ErrorValue
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaugot committed Aug 24, 2016
1 parent f25413e commit 3ec380c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/coding/linear_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,7 @@ def __call__(self, m, **kwargs):
sage: C(word)
Traceback (most recent call last):
...
ValueError: If the input is a vector whose length is equal to self.length(), it has to be a codeword
ValueError: If the input is a vector which belongs to the ambient space, it has to be a codeword
"""
if m in self.ambient_space() and m not in self:
raise ValueError("If the input is a vector which belongs to the ambient space, it has to be a codeword")
Expand Down

0 comments on commit 3ec380c

Please sign in to comment.