Skip to content

Commit 0e88192

Browse files
committed
fix one detail
1 parent 402bec3 commit 0e88192

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sage/coding/cyclic_code.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
from sage.misc.cachefunc import cached_method
4848
from sage.rings.all import Zmod
4949

50+
5051
def find_generator_polynomial(code, check=True):
5152
r"""
5253
Returns a possible generator polynomial for ``code``.
@@ -334,7 +335,7 @@ def __init__(self, generator_pol=None, length=None, code=None, check=True,
334335
...
335336
ValueError: The code is not cyclic.
336337
337-
If the ``primitive_root`̀ does not lie in an extension of ``field``,
338+
If the ``primitive_root`` does not lie in an extension of ``field``,
338339
or is not a primitive `n`-th root of unity, then
339340
an exception is raised::
340341
@@ -1321,7 +1322,7 @@ def decoding_radius(self):
13211322
return self._bch_decoder.decoding_radius()
13221323

13231324

1324-
####################### registration ###############################
1325+
# ###################### registration ##############################
13251326

13261327
CyclicCode._registered_encoders["Polynomial"] = CyclicCodePolynomialEncoder
13271328
CyclicCode._registered_encoders["Vector"] = CyclicCodeVectorEncoder

0 commit comments

Comments
 (0)