Skip to content

Commit c15742d

Browse files
committed
more consistent naming in DEBUG output
1 parent 67562fb commit c15742d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sage/combinat/k_regular_sequence.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,11 +1126,11 @@ def guess(self, f, n_max=100, max_exponent=10, sequence=None):
11261126
sage: logging.basicConfig(level=logging.DEBUG)
11271127
sage: Seq2.guess(s)
11281128
INFO:...:including f_{1*m+0}
1129-
DEBUG:...:M_0: f_{2*m+0} = (1) * X_m
1129+
DEBUG:...:M_0: f_{2*m+0} = (1) * F_m
11301130
INFO:...:including f_{2*m+1}
1131-
DEBUG:...:M_1: f_{2*m+1} = (0, 1) * X_m
1132-
DEBUG:...:M_0: f_{4*m+1} = (0, 1) * X_m
1133-
DEBUG:...:M_1: f_{4*m+3} = (-1, 2) * X_m
1131+
DEBUG:...:M_1: f_{2*m+1} = (0, 1) * F_m
1132+
DEBUG:...:M_0: f_{4*m+1} = (0, 1) * F_m
1133+
DEBUG:...:M_1: f_{4*m+3} = (-1, 2) * F_m
11341134
2-regular sequence 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, ...
11351135
sage: from importlib import reload
11361136
sage: logging.shutdown(); _ = reload(logging)
@@ -1331,7 +1331,7 @@ def include(t, r):
13311331
except NoLinearCombination:
13321332
include(t_L, r_L) # entries (t, r) --> k**t * m + r
13331333
linear_combination = (len(lines)-1)*(zero,) + (one,)
1334-
logger.debug('M_%s: f_{%s*m+%s} = %s * X_m',
1334+
logger.debug('M_%s: f_{%s*m+%s} = %s * F_m',
13351335
s_L, k**t_L, r_L, linear_combination)
13361336
mu[s_L].append(linear_combination)
13371337

0 commit comments

Comments
 (0)