[julia-users] Re: Using append! with types Array{Int64,1}

2014-07-22 Thread Frederico Novaes
Thank you for the solution and explanation ! Frederico. On Tuesday, July 22, 2014 11:40:24 AM UTC-3, Ivar Nesje wrote: > > You must use push! > > Julia is very careful about the meaning of a function (partially because > multiple dispatch makes it much more important than in other languages). >

[julia-users] Re: Using append! with types Array{Int64,1}

2014-07-22 Thread Ivar Nesje
You must use push! Julia is very careful about the meaning of a function (partially because multiple dispatch makes it much more important than in other languages). push! : appends a single element to a collection append! : pushes all the elements of a container into another container. c_zero i