Re: [julia-users] sparse function

2016-05-03 Thread Tom Breloff
You could consider putting the code in a Github gist and posting the link: https://gist.github.com/ On Tue, May 3, 2016 at 11:29 AM, new to Julia wrote: > I use mail file to call a different file, which using sparse function. It > is a long code, what part do you expect

Re: [julia-users] sparse function

2016-05-03 Thread new to Julia
I use mail file to call a different file, which using sparse function. It is a long code, what part do you expect to put here? On Tuesday, May 3, 2016 at 12:36:33 AM UTC-5, Patrick Kofod Mogensen wrote: > > Can you try to show a small script that reproduces the error? > > On Tuesday, May 3,

Re: [julia-users] sparse function

2016-05-02 Thread Patrick Kofod Mogensen
Can you try to show a small script that reproduces the error? On Tuesday, May 3, 2016 at 6:16:43 AM UTC+2, new to Julia wrote: > > Thanks for your reply. > A=sparse(nrow,ncol,vals_final); > nrow, ncol, vals_final are all 1 dimensional vector. > > On Monday, May 2, 2016 at 11:10:12 PM UTC-5,

Re: [julia-users] sparse function

2016-05-02 Thread Michele Zaffalon
Are you sure? The error message seems to be generated by a different function call. On Tue, May 3, 2016 at 6:16 AM, new to Julia wrote: > Thanks for your reply. > A=sparse(nrow,ncol,vals_final); > nrow, ncol, vals_final are all 1 dimensional vector. > > On Monday, May 2,

Re: [julia-users] sparse function

2016-05-02 Thread new to Julia
Thanks for your reply. A=sparse(nrow,ncol,vals_final); nrow, ncol, vals_final are all 1 dimensional vector. On Monday, May 2, 2016 at 11:10:12 PM UTC-5, Michele Zaffalon wrote: > > Can you post the code that generate the error? > > On Tue, May 3, 2016 at 5:47 AM, new to Julia

Re: [julia-users] sparse function

2016-05-02 Thread Michele Zaffalon
Can you post the code that generate the error? On Tue, May 3, 2016 at 5:47 AM, new to Julia wrote: > Hi all: > > when I use sparse function in Julia coding, I have the following error: > > LoadError: MethodError: `sparse` has no method matching >

[julia-users] sparse function

2016-05-02 Thread new to Julia
Hi all: when I use sparse function in Julia coding, I have the following error: LoadError: MethodError: `sparse` has no method matching sparse(::Array{Float64,1}, ::Array{Float64,1}, ::Array{Float64,1}, ::Int64, ::Int64, ::Base.AddFun) Closest candidates are: sparse(::Any, ::Any,