mpty, so
> you got one. These, and the slice scenario, are not similar situations.
>
> Best regards,
> Ed
>
> ________
> From: Luis Mochan
> Sent: 10 December 2024 2:08 AM
> To: perldl ; perldl
>
> Subject: [Pdl-devel] empty slices
>
> H
24 2:08 AM
To: perldl ; perldl
Subject: [Pdl-devel] empty slices
Hello,
I wonder if the following behavior is the expected behavior:
pdl> $x=sequence(2)
pdl> p $x(0:-1)
[0 1]
pdl> p $x(1:-1)
[1]
pdl> p $x(2:-1)
Stringizing problem: Error in slice:slice
Hello,
I wonder if the following behavior is the expected behavior:
pdl> $x=sequence(2)
pdl> p $x(0:-1)
[0 1]
pdl> p $x(1:-1)
[1]
pdl> p $x(2:-1)
Stringizing problem: Error in slice:slice starts out of bounds in pos
0 (start is 2; end is -1; inc is 0; sourc