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