I want the array to be initialized with every element being "". Can't say about 0.3.4, but it definitely worked under 0.3.3. Are there any other easy ways for what I want?
On Friday, January 16, 2015, Milan Bouchet-Valat <[email protected]> wrote: > Le vendredi 16 janvier 2015 à 14:29 +0800, K leo a écrit : > > julia> A=zeros(UTF8String, 5) > > ERROR: `zero` has no method matching zero(::Type{UTF8String}) > > in zeros at array.jl:169 > > > > > > This used to work, but with the new update it doesn't. Any idea? > Doesn't work on 0.3.4 either. But what would you expect zero(UTF8String) > to return? A string isn't a number. More broadly, why do you need this > "feature"? > > > Regards > > > > > _ _ _(_)_ | A fresh approach to technical computing > > (_) | (_) (_) | Documentation: http://docs.julialang.org > > _ _ _| |_ __ _ | Type "help()" for help. > > | | | | | | |/ _` | | > > | | |_| | | | (_| | | Version 0.3.5 (2015-01-08 22:33 UTC) > > _/ |\__'_|_|_|\__'_| | Official http://julialang.org release > > |__/ | x86_64-linux-gnu > > > > > >
