On Wed, Feb 17, 2016 at 10:22 AM, J Luis <[email protected]> wrote:
> Hi, see
>
>     function ttt()
>         t1 = [-1167.3955469319576 9.9];
>         t2 = [-1170.4689400259758 -15.31];
>         t = [t1[1,:]; t2[1,:]]
>         @show(t1,t2,t)
>     end
>
> prints on 0.4
>
>     t1 = [-1167.3955469319576 9.9]
>     t2 = [-1170.4689400259758 -15.31]
>     t = [-1167.3955469319576 9.9
>      -1170.4689400259758 -15.31]
>     2x2 Array{Float64,2}:
>      -1167.4     9.9
>      -1170.47  -15.31
>
> but on 0.5 (built yesterday)
>
>     t1 = [-1167.3955469319576 9.9]
>     t2 = [-1170.4689400259758 -15.31]
>     t = [-1167.3955469319576,9.9,-1170.4689400259758,-15.31]
>     4-element Array{Float64,1}:
>      -1167.4
>          9.9
>      -1170.47
>        -15.31

IIUC this is an intentional change
https://github.com/JuliaLang/julia/pull/13612.

An easy way to fix the compatibility on 0.4 and 0.5 is to use 1:1 instead of 1.

Reply via email to