Skip to content

Commit ae8a287

Browse files
committed
fixup n_max
1 parent c198d90 commit ae8a287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/combinat/k_regular_sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ def some_inverse_U_matrix(lines):
12691269
"""
12701270
d = len(seq(0)) + len(lines)
12711271

1272-
for m_indices in cantor_product(xsrange(n_max), repeat=d, min_slope=1):
1272+
for m_indices in cantor_product(xsrange(n_max+1), repeat=d, min_slope=1):
12731273
# Iterate over all increasing lists of length d consisting
12741274
# of non-negative integers less than `n_max`.
12751275

0 commit comments

Comments
 (0)