diff --git a/src/SES/Myers.hs b/src/SES/Myers.hs index 515fd9a29..e056ee900 100644 --- a/src/SES/Myers.hs +++ b/src/SES/Myers.hs @@ -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)