Github user luciano-medallia commented on a diff in the pull request:
https://github.com/apache/commons-text/pull/85#discussion_r203757309
--- Diff:
src/main/java/org/apache/commons/text/similarity/LevenshteinDistance.java ---
@@ -270,12 +270,6 @@ private static int limitedCompare(CharSequence left,
CharSequence right, final i
final int max = j > Integer.MAX_VALUE - threshold ? n :
Math.min(
n, j + threshold);
- // the stripe may lead off of the table if s and t are of
different
- // sizes
- if (min > max) {
--- End diff --
Hi @chtompki,
Did you get a chance to give this a look? The change will probably require
a little extra clean up to remove comments about the "stripe running off the
matrix" issue.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]