Yes, so far this is intended. We want a shape-preserving `collect` for
implementing comprehensions, for example `collect(2x for x in A)`.
However a case could be made that `collect` should continue to return
only vectors, and the shape-preserving version should have a new name.

On Wed, May 25, 2016 at 3:41 PM,  <[email protected]> wrote:
> Hi,
>
> I am not sure if this is the right place to post questions about version
> 0.5.0-, but I'll give it a try anyhow.
>
> In 0.4.5, collect([1 2]) gives Array{Int64,1}, like a column vector.
>
> In 0.5.0_ (as of 25 May, Win64), collect([1 2]) gives Array{Int64,2}, like a
> row vector.
>
> Is this intended? (...just struggling to prepare for the next release)
>
> /Paul S

Reply via email to