mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,7 +50,7 @@ unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
|
|||||||
// http://en.wikipedia.org/wiki/Levenshtein_distance
|
// http://en.wikipedia.org/wiki/Levenshtein_distance
|
||||||
//
|
//
|
||||||
// Although the algorithm is typically described using an m x n
|
// Although the algorithm is typically described using an m x n
|
||||||
// array, only two rows are used at a time, so this implemenation
|
// array, only two rows are used at a time, so this implementation
|
||||||
// just keeps two separate vectors for those two rows.
|
// just keeps two separate vectors for those two rows.
|
||||||
typename ArrayRef<T>::size_type m = FromArray.size();
|
typename ArrayRef<T>::size_type m = FromArray.size();
|
||||||
typename ArrayRef<T>::size_type n = ToArray.size();
|
typename ArrayRef<T>::size_type n = ToArray.size();
|
||||||
|
Reference in New Issue
Block a user