1. Shlomi Fish
  2. project-euler

Commits

Shlomi Fish  committed 058b15d

Move a variable before use.

  • Participants
  • Parent commits a326dd4
  • Branches default

Comments (0)

Files changed (1)

File project-euler/466/euler-466-experimental-with-modulo-bit-vec.pl

View file
  • Ignore whitespace
 
                             my $l = shift;
 
-                            my @LIM = ( map { [0,$_*$step] } @$l );
-
                             # Let's try to calculate in a smarter way.
                             my $recurse;
 
                                 return;
                             };
 
+                            my @LIM = ( map { [0,$_*$step] } @$l );
+
                             $recurse->(0, 0, $step, \@LIM);
 
                             return [map { $_->[0] } @LIM];