Skip to content

zero & keytype always return Int64 for the index type #574

Open
@dpinol

Description

@dpinol
julia> using SparseArrays

julia> v=spzeros(Int,Int32,10)
10-element SparseVector{Int64, Int32} with 0 stored entries

julia> keytype(v)
Int64

julia> zero(v)
10-element SparseVector{Int64, Int64} with 0 stored entries

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions