Open
Description
so the following code eventually produces a non-shared array and for me it was a surprise:
a = SharedArray(Float32, 3)
a[:] = 0
a += 1
I have a function that sometimes gets an Array
and other times a SharedArray
. Now it has a different behaviour depending on the type used.
Is this behaviour intended?