pkg-perl-maintainers team mailing list archive
-
pkg-perl-maintainers team
-
Mailing list archive
-
Message #03324
[Bug 1695763] Re: lots of pdl messages on Xenial Negative repeat count does nothing
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
References