Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Revert "Trac #21325 review comment 10: remove comment"
Browse files Browse the repository at this point in the history
This reverts commit e7e3f2a.
  • Loading branch information
dkrenn committed Jan 10, 2022
1 parent e7e3f2a commit c9e7260
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sage/combinat/k_regular_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@ def subsequence(self, a, b):
A = P.alphabet()
k = P.k

# Below, we use a dynamic approach to find the shifts of the
# sequences in the kernel. According to [AS2003]_, the static range
# [min(b, 0), max(a, a + b))
# suffices. However, it seems that the smaller set
# [min(b, 0), max(a, a + (b-1)//k + 1)) \cup {b}
# suffices as well.
kernel = list(b)

zero_M = self.mu[0].parent().zero()
Expand Down

0 comments on commit c9e7260

Please sign in to comment.