Github user chtompki commented on a diff in the pull request:

    https://github.com/apache/commons-text/pull/85#discussion_r202562835
  
    --- 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 --
    
    I'll try to give this a look in the morning (UTC-4), and many thanks for 
the contribution.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to