JuliaLang/julia — comment on commit a0961e5df69da9f736ac8cb54a1186433fa6c1ba
File: j/array.j line 98
By ViralBShah:

Ok, I'll revert this. I don't need this for the time being anyways.

-viral

On Dec 2, 2011, at 1:13 AM, JeffBezanson wrote:

> This doesn't behave the same anymore, since it used to promote first.
> Old version:
>
> julia> linspace(1,2.0,10)
> [1.0, 1.11111111, 1.22222222, 1.33333333 ... 1.77777778, 1.88888889, 2.0]
>
> New version:
>
> julia> linspace(1,2.0,10)
> [1, 1, 1, 1, 1, 2, 2, 2, 2, 2]
>
> I'd rather not have Type arguments in cases that can be handled using the types of the values involved.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/JuliaLang/julia/commit/a0961e5df69da9f736ac8cb54a1186433fa6c1ba#commitcomment-761999