@parallel breaks when paralleling a loop over a Zip. Is there a workaround 
that allows me not to explicitly form the sequence I'm iterating over? I'd 
like to avoid copying (unnecessarily) the data from the sequences I'm 
zipping up.

n = 1000
x = randperm(n); y = randperm(n)
@parallel for t in zip(x,y)
    x,y = t
    println(x,y)
end

exception on 1: ERROR: no method 
getindex(Zip2{Array{Int64,1},Array{Int64,1}}, Range1{Int64})
 in anonymous at no file:1467
 in anonymous at multi.jl:1278
 in run_work_thunk at multi.jl:575
 in run_work_thunk at multi.jl:584
 in anonymous at task.jl:88

Reply via email to