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

broadcasting and map are not type inferrable

Open mohdibntarek opened this issue 4 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)

mohdibntarek avatar Nov 22 '21 10:11 mohdibntarek