1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Set the backwards vector with the delta.

This commit is contained in:
Rob Rix 2017-03-10 13:53:16 -05:00
parent c4a7f35d46
commit 7231c64bdd

View File

@ -136,7 +136,7 @@ decompose myers = let ?callStack = popCallStack callStack in case myers of
then next
else let x' = succ (x prev) in Endpoint x' (x' - k)
let Endpoint x' y' = slide (negate 1) eq xy
setBackward (v Vector.// [(maxD + k, x')])
setBackward (v Vector.// [(maxD + delta + k, x')])
return (Endpoint x' y')
where at v k = let x = v ! maxD + delta + k in Endpoint x (x - k)