diff options
Diffstat (limited to 'src/diff.hh')
| -rw-r--r-- | src/diff.hh | 3 |
1 files changed, 1 insertions, 2 deletions
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<T> : ArrayView<T>(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]] |
