Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Made the code more idiomatic.
  • Loading branch information
shlomif committed May 6, 2015
1 parent 76e4e37 commit 0144c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion categories/euler/prob151-shlomif.p6
Expand Up @@ -21,7 +21,7 @@ sub rec($factor, @counts, $result)
{
my @c = @counts;
@c[$size]--;
for $size+1 .. 4 -> $s
for $size ^.. 4 -> $s
{
@c[$s]++;
}
Expand Down

0 comments on commit 0144c93

Please sign in to comment.