[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [patch] Incorrect result of org-babel-edit-distance
From: |
Eric Schulte |
Subject: |
Re: [O] [patch] Incorrect result of org-babel-edit-distance |
Date: |
Fri, 07 Dec 2012 12:43:39 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Nicolas Richard" <address@hidden> writes:
> Hello,
>
> (org-babel-edit-distance "foo" "ffoo") returns 0, whereas 1 seems
> appropriate. I don't know much about computing the levenshtein distance,
> but it seems that part of the algorithm (which i found explained on
> fr.wikipedia) is missing from the code. Please find a patch below trying
> to address the issue.
>
Applied. Thanks!,
--
Eric Schulte
http://cs.unm.edu/~eschulte