Skip to content

Commit 88cc3e7

Browse files
author
Matthias Koeppe
committed
src/sage/coding: Fix uses of '...' that only worked by accident
1 parent a79c449 commit 88cc3e7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/sage/coding/code_constructions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,8 +732,7 @@ def ToricCode(P,F):
732732
sage: C.minimum_distance()
733733
24
734734
sage: C.minimum_distance(algorithm="guava") # optional - gap_packages (Guava package)
735-
...
736-
24
735+
...24
737736
sage: C = codes.ToricCode([[-2,-2],[-1,-2],[-1,-1],[-1,0],
738737
....: [0,-1],[0,0],[0,1],[1,-1],[1,0]], GF(5))
739738
sage: C

src/sage/coding/linear_code.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -911,8 +911,7 @@ def covering_radius(self):
911911
912912
sage: C = codes.HammingCode(GF(2), 5)
913913
sage: C.covering_radius() # optional - gap_packages (Guava package)
914-
...
915-
1
914+
...1
916915
917916
sage: C = codes.random_linear_code(GF(263), 5, 1)
918917
sage: C.covering_radius() # optional - gap_packages (Guava package)
@@ -1375,8 +1374,7 @@ def minimum_distance(self, algorithm=None):
13751374
3
13761375
sage: libgap.SetAllInfoLevels(0) # to suppress extra info messages # optional - sage.libs.gap
13771376
sage: C.minimum_distance(algorithm="guava") # optional - gap_packages (Guava package)
1378-
...
1379-
3
1377+
...3
13801378
13811379
TESTS::
13821380

0 commit comments

Comments
 (0)