Skip to content

sparse constructor misbehaving on master #12397

@gragusa

Description

@gragusa

In v.0.3.10

julia> sparse([], [], [1], 0, 0, vcat)
0x0 sparse matrix with 0 Int64 entries:

In 0.4.0-dev+6402

julia> sparse([], [], [1], 0, 0, vcat)
ERROR: MethodError: `sparse` has no method matching sparse(::Array{Any,1}, ::Array{Any,1}, ::Array{Int64,1}, ::Int64, ::Int64, ::Function)
Closest candidates are:
  sparse(::Any, ::Any, ::AbstractArray{T,1}, ::Any, ::Any)
  sparse(::Any, ::Any, ::Number, ::Any, ::Any, ::Union{Base.Func{N},Function})
  sparse(::Any, ::Any, ::AbstractArray{Bool,1}, ::Any, ::Any)
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    sparseSparse arrays

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions