Closed sv-91 closed 2 years ago
A context_radius
of 0 does not make sense. I will add an explicit panic here in the internal function to make it error earlier.
Yes, there are other examples here with different radius but with panic. I don't understand, why there is needed explicit panic. I think, this is correct example, and it must work correctly. You can change first symbol of fst to any other symbol, it doesn't matter
As far as I can tell the example works fine with a non zero radius. I also believe the input data is irrelevant for the particular problem that a radius of 0
causes. What would you expect that a radius of 0
does? I will have another look at this.
This code crashes or produces incorrect output