.[ABC is mostly used to pad A to a length of C. Through the introduction of modular padding this didn't work when A is empty. E.g. .[Y1 3 returned [] and not [1, 1, 1].
This commit changes to behavior, so that the padding length will be always positive.
.[ABC
is mostly used to padA
to a length ofC
. Through the introduction of modular padding this didn't work whenA
is empty. E.g..[Y1 3
returned[]
and not[1, 1, 1]
.This commit changes to behavior, so that the padding length will be always positive.
Added also tests.