Re: [julia-users] Why was a fundamental indexing inconsistency introduced in 0.5?

2016-09-25 Thread Mauro
This was discussed at length here: https://github.com/JuliaLang/julia/issues/5949 And is featured in NEWS.md: https://github.com/JuliaLang/julia/blob/master/NEWS.md#julia-v050-release-notes Many languages do drop scalar-indexed dimensions, for instance Python/Numpy. On Mon, 2016-09-26 at 00:32,

[julia-users] Why was a fundamental indexing inconsistency introduced in 0.5?

2016-09-25 Thread Joshua Jones
The change to indexing within matrices in 0.5.0 is fundamentally counterintuitive. For example: julia> frame32 = randn(16,7); julia> size(frame32[1,:]) (7,) julia> size(frame32[1:1,:]) (1,7) To be quite blunt, I think this is a terrible contradiction. It completely breaks the repmat syntax