1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Even more duplicate word removal, in the spirit of the season

This commit is contained in:
Peter Eisentraut
2012-05-02 20:14:39 +03:00
parent 0038110421
commit e9605a039b
3 changed files with 4 additions and 4 deletions

View File

@ -349,8 +349,8 @@ levenshtein_internal(text *s, text *t,
* remaining portions of the strings are of equal length. There
* are (n - 1) characters in the target string, of which j have
* been transformed. There are (m - 1) characters in the source
* string, so we want to find the value for zp where where (n - 1)
* - j = (m - 1) - zp.
* string, so we want to find the value for zp where (n - 1) - j =
* (m - 1) - zp.
*/
int zp = j - (n - m);