DistributedArrays.jl icon indicating copy to clipboard operation
DistributedArrays.jl copied to clipboard

broadcasting and map are not type inferrable

Open mohamed82008 opened this issue 3 years ago • 0 comments

The following code does not infer properly:

using DistributedArrays
addprocs(1)
a = distribute(rand(10), procs = [1,2])
f(x) = log.(x)
@code_warntype f(a)
@code_warntype map(log, a)

mohamed82008 avatar Nov 22 '21 10:11 mohamed82008