[julia-users] Re: `abs` has no method matching abs(::Array{Any,1})

2016-07-21 Thread Ping Hou
Yes, it works. Thank you so much for your help! On Thursday, July 21, 2016 at 4:11:24 PM UTC-4, Gabriel Gellner wrote: > > Can you just cast the array to Float64 or whatever numeric type you need > to column to be? > > On Thursday, July 21, 2016 at 9:50:14 AM UTC-7, Ping Hou wrote: >> >> Hi, >> >

[julia-users] Re: `abs` has no method matching abs(::Array{Any,1})

2016-07-21 Thread Gabriel Gellner
Can you just cast the array to Float64 or whatever numeric type you need to column to be? On Thursday, July 21, 2016 at 9:50:14 AM UTC-7, Ping Hou wrote: > > Hi, > > I encountered a problem when I running my code. > > LoadError: MethodError: `abs` has no method matching abs(::Array{Any,1}) > whi