I'm wondering if the following behavior is intentional and what the 
rationale is:

julia> x = rand(5);

julia> size(x)
(5,)

julia> n = size(x,1)
5

julia> m = size(x,2)
1

julia> (n, m) = size(x)
ERROR: BoundsError()

I would expect either both size(x,2) and (n,m) = size(x) to work and be 
consistent, or both to return the same error...

Reply via email to