Consider this:
using SharedArrays
x = SharedArray{Float64}(1, 1)
y = similar(x)
I would expect y
to also be a SharedArray
, however
julia> typeof(x)
SharedArray{Float64,2}
julia> typeof(y)
Array{Float64,2}
Consider this:
using SharedArrays
x = SharedArray{Float64}(1, 1)
y = similar(x)
I would expect y
to also be a SharedArray
, however
julia> typeof(x)
SharedArray{Float64,2}
julia> typeof(y)
Array{Float64,2}
The source array is actually an Array
You can also check out