Hello,

In the discussion of arrays in the manual, in the assignment section 
<http://docs.julialang.org/en/release-0.4/manual/arrays/#assignment> it 
says of this:

A[I_1, I_2, ..., I_n] = X

The it does the following:

If X is an array, its size must be (length(I_1), length(I_2), ..., 
> length(I_n)), and the value in location i_1, i_2, ..., i_n of A is 
> overwritten with the valueX[I_1[i_1], I_2[i_2], ..., I_n[i_n]]. If X is 
> not an array, its value is written to all referenced locations of A.


It seems to me that it should be this:

If X is an array, its size must be (length(I_1), length(I_2), ..., 
length(I_n)), and the value in location I_1[i_1], I_2[i_2], ..., I_n[i_n] 
 of A is overwritten with the valueXi_1, i_2, ..., i_n]. If X is not an 
array, its value is written to all referenced locations of A.


Reply via email to