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 <[email protected]> wrote:

> 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, 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, Michele Zaffalon wrote:
>>>>
>>>> Can you post the code that generate the error?
>>>>
>>>> On Tue, May 3, 2016 at 5:47 AM, new to Julia <[email protected]>
>>>> wrote:
>>>>
>>>>> 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, ::AbstractArray{T,1}, ::Any, ::Any)
>>>>> sparse(::Any, ::Any, !Matched::Number, ::Any, ::Any,
>>>>> ::Union{Base.Func{N},Function})
>>>>> sparse(::Any, ::Any, !Matched::AbstractArray{Bool,1}, ::Any, ::Any)
>>>>> ...
>>>>> in sparse at sparse/sparsematrix.jl:380
>>>>>
>>>>> I am wondering that how can I fix the bug? Thank you very much.
>>>>>
>>>>> Best
>>>>>
>>>>>
>>>>>
>>>>>
>>>>

Reply via email to