convert works fine on a single BigFloat but it doesn't apply to an array ?

julia> x = BigFloat("2.13")

2.130000000000000000000000000000000000000000000000000000000000000000000000000003e+00
 with 256 bits of precision


julia> convert(Float64,x)

2.13


julia> convert(Float64, [x x])

MethodError(convert,(Float64,

1x2 Array{BigFloat,2}:

 
2.130000000000000000000000000000000000000000000000000000000000000000000000000003e+00
  …  
2.130000000000000000000000000000000000000000000000000000000000000000000000000003e+00))


Reply via email to