1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 11:02:26 +03:00

Recur in SES.

This commit is contained in:
Rob Rix 2015-10-06 12:15:48 -04:00
parent e14c5a7f9d
commit ebca63b01e

View File

@ -133,8 +133,7 @@ public enum FreeAlgorithm<A, B> {
let down = matrix[i, j + 1]
let diagonal = matrix[i + 1, j + 1]
// fixme: this should recur.
let diff = Diff.Pure(Patch.Replace(a[i], b[j]))
let diff = recur(a[i], b[j])
if let right = right, down = down, diagonal = diagonal {
// nominate the best edge to continue along