string-kernel
string-kernel copied to clipboard
returning [-1] in get_numbers_for_sequence
Hi, I have a question, what is the effect of returning [-1] in get_numbers_for_sequence? Doesn't it produce unexpected counts by negative indexing after being multiplied with the multiplier?
https://github.com/jakob-he/string-kernel/blob/c9702d329b35698f09eb9f5d22857238c95b8665/strkernel/gappy_kernel.py#L19