# SharedArrays at Ditributed, what wrong?

**URL:** <https://discourse.julialang.org/t/sharedarrays-at-ditributed-what-wrong/37030>\
**Category:** General Usage\
**Created:** [April 4, 2020, 7:32pm UTC](https://discourse.julialang.org/t/sharedarrays-at-ditributed-what-wrong/37030 "2020-04-04T19:32:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [April 4, 2020, 7:32pm UTC](https://discourse.julialang.org/t/sharedarrays-at-ditributed-what-wrong/37030/1 "2020-04-04T19:32:22Z")

</div>

This code not copmpute , what wrong ?  
Function badaj55()  
take vector with 8 Floats and Return tuple with Float.

```julia
julia> typeof(granice)
SharedArray{Float64,2}

julia> typeof(test)
SharedArray{Float64,1}
julia> typeof(tablica)
SharedArray{Float64,2}

julia> @distributed for i=1:size(tablica,1)
       test[i]=badaj55(rozwin(tablica[i,:],granice))
       if mod(i,1000)==0 println(i) end
       end
Task (queued) @0x000000000f2b4e70

```

Paul
