I'm getting warnings when using niceslice which I didn't get previously, as far
as I recall. For example,
$ perl -MPDL -MPDL::NiceSlice -Mwarnings -E '$a=PDL->sequence(5); say
$a->(*)'
Use of uninitialized value in concatenation (.) or string at -e line 1.
[
[0]
[1]
[2]
[3]
[4]
]
$
It seems the slice was taken correctly, but I got the message about an
initialized value. If I put an explicit size for the dummy dimension,
i.e., $a(*1), the warning goes away. The number was not required previously.
So, is it
mandatory now? The niceslice documentation still says
A lone '*' inserts a dummy dimension of order 1;
I'm using PDL 2.016 under Perl 5.24.0.
Regards,
Luis
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Apdo. Postal 48-3, 62251 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
------------------------------------------------------------------------------
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general