Skip to content

Commit dbf2bdc

Browse files
dkrenncheuberg
andauthored
Apply suggestions from code review
Co-authored-by: cheuberg <[email protected]>
1 parent 98f0587 commit dbf2bdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/combinat/k_regular_sequence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ def guess(self, f, n_max=100, max_exponent=10, sequence=None):
11951195
sage: Seq2.guess(s, max_exponent=1)
11961196
Traceback (most recent call last):
11971197
...
1198-
RuntimeError: aborting as exponents would be larger than max_esponent=1
1198+
RuntimeError: aborting as exponents would be larger than max_exponent=1
11991199
"""
12001200
import logging
12011201
logger = logging.getLogger(__name__)
@@ -1317,7 +1317,7 @@ def include(line):
13171317
t_R, r_R = line_R
13181318
if t_R >= max_exponent:
13191319
raise RuntimeError(f'aborting as exponents would be larger '
1320-
f'than max_esponent={max_exponent}')
1320+
f'than max_exponent={max_exponent}')
13211321

13221322
t_L = t_R + 1
13231323
for s_L in srange(k):

0 commit comments

Comments
 (0)