Alternatively, change the following code: diff -r1.1 /usr/lib/x86_64-linux-gnu/perl5/5.22/PDL/Core.pm 1546,1547c1546,1549 < my($s) = ',' x ( ($dim > $pdl->getndims) ? ($pdl->getndims) : ($dim) ); < $s .= '*1,' x ( $dim-$pdl->getndims ); --- > # Avoid negative repeat count warning that came with 5.21 and later. > my $dim_diff = $dim - $pdl->getndims; > my($s) = ',' x ( $dim_diff > 0 ? $pdl->getndims : $dim ); > $s .= '*1,' x ( $dim_diff > 0 ? $dim_diff : 0 );
-- You received this bug notification because you are a member of Debian Perl Group, which is subscribed to pdl in Ubuntu. https://bugs.launchpad.net/bugs/1695763 Title: lots of pdl messages on Xenial Negative repeat count does nothing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdl/+bug/1695763/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~pkg-perl-maintainers Post to : [email protected] Unsubscribe : https://launchpad.net/~pkg-perl-maintainers More help : https://help.launchpad.net/ListHelp

