diff --git a/src/diff.hh b/src/diff.hh index fe679bd6..adaa5cdd 100644 --- a/src/diff.hh +++ b/src/diff.hh @@ -14,8 +14,7 @@ struct MirroredArray : public ArrayView : ArrayView(data), size(size) { kak_assert(2 * size + 1 <= data.size()); - for (int i = -size; i <= size; ++i) - (*this)[i] = 0; + (*this)[1] = 0; } [[gnu::always_inline]]