Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix syntax of adverb in where clause
This fails after jnthn++'s work on the EXPR preclimit
got things more right.
  • Loading branch information
Carl Masak committed Jul 24, 2015
1 parent ab605d9 commit fe6e70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/advent2012-day04.t
Expand Up @@ -67,7 +67,7 @@ is-deeply @triplet-prods, [31875000], 'Pythagorean triplet products (dataflow)';

my %cache = 1 => 0;

multi factors($n where %cache{$n}:exists) { %cache{$n} }
multi factors($n where { %cache{$n}:exists }) { %cache{$n} }
multi factors($n) {
for 2, 3, *+2 ...^ * > sqrt($n) {
if $n %% $_ {
Expand Down

0 comments on commit fe6e70f

Please sign in to comment.