Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix [X~]. Patch by skids++
  • Loading branch information
moritz committed Aug 20, 2015
1 parent 328aa98 commit 0d2f911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/metaops.pm
Expand Up @@ -51,7 +51,7 @@ sub METAOP_CROSS(\op, &reduce) {
my Mu $o := nqp::atpos($sublist, $j);
@v[$i] := $o;
$j = $j + 1;
if $i >= $n { take $rop(|@v); }
if $i >= $n { take lol.elems == 2 ?? $rop(|@v) !! $rop(@v); }
else { $i = $i + 1; @j.push($j); $j = 0; }
}
elsif (my \value = @loi[$i].pull-one) !=:= IterationEnd {
Expand Down

0 comments on commit 0d2f911

Please sign in to comment.