Closed benkrikler closed 5 years ago
Thanks for pointing this out!
Recently, the majority of bugs can be labeled, "Numpy corner cases," like this one. That's one of the main motivations for the C++ version: implementations of methods like pad
will be more straightforward (internally as for loops) where this kind of gaffe would more likely be noticed.
This will be awkward 0.12.10.
Jagged array's
pad
method has troubles when the array contents is empty (even ifstarts
orstops
is not). This is the case with the latest release at least, so version 0.12.9To recreate:
output:
Same is true if
clip=False
or ifvals=[[]]