Factors: Old Math::Prime::Util:all_factors not giving all factors.

Math::Prime::Util:all_factors version 0.26 (which we have in the dist.ini) had a different behavior from 0.34. So the tests failed. This should fix it.
master
Jag Talon 2013-12-05 18:54:59 -05:00
parent 024712ff7c
commit 14fca3ada6
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Lingua::EN::Numbers::Ordinate = 1.02
; Hashes
Digest::SHA = 5.82
; Factors
Math::Prime::Util = 0.26
Math::Prime::Util = 0.34
Games::Sudoku::Component = 0.02
Data::RandomPerson = 0.4
URI::Escape = 3.31

View File

@ -20,7 +20,7 @@ attribution github => [ 'https://github.com/austinheimark', 'austin_heimark' ];
handle remainder => sub {
return unless /^\d+$/;
my @factors = all_factors($_);
return "Factors of $_: 1 @factors $_";
return "Factors of $_: @factors";
};
1;