JuliaLang/julia — Issue #306: DArray different behavior on local and nonlocal parts
Author: goretkin
Created: 2011-12-13 08:54:19+00:00
State: open
Labels: bugs

make sure to run this with more than just a single node.

```
assert(nprocs() > 1)
particles = dzeros(10*nprocs(),2);

println(particles[5,:])
println(particles[15,:])

#these should both work or not work.
particles[5,:]=[1,2] #this works
particles[15,:]=[1,2] #this doesn't work,
#error: in _F_: arrayref: index out of range

#these both work
particles[5,:] = [1,2]'
particles[15,:] = [1,2]'
```