Hi I have the following piece of code and I am getting a setindex! error which I am unable to figure out-
times = Array(Float64,(4,10)); # 4 X 10 matrix
a=fill(1.0,10);
c=fill(0.0,10);
times[1][1] = @elapsed @parallel for j=1:10
c[j] = a[j];
end
ERROR: `setindex!` has no method matching setindex!(::Float64, ::Float64,
::Int64)
What could be the problem ?
Kapil
