Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix X with more than 3 dimensions
  • Loading branch information
niner committed Sep 14, 2015
1 parent 57a7f6a commit 57340b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/List.pm
Expand Up @@ -1008,9 +1008,10 @@ sub infix:<X>(|lol) {
}
else { # more than 3 dimensions
my Mu $jsave := nqp::list_i();
my \source = @l[0].iterator;
gather {
while $i == 0 {
my \e = @l[0].pull-one;
my \e = source.pull-one;
if e !=:= IterationEnd {
nqp::bindpos($v, $i, e);

Expand Down

0 comments on commit 57340b4

Please sign in to comment.