mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Offset given the delta.
This commit is contained in:
parent
7231c64bdd
commit
d419e9aa9a
@ -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 + delta + 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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user