Skip to content

nnz and indtype for ReadOnly? #611

@orenbenkiki

Description

@orenbenkiki

The code seems to be missing these:

function SparseArrays.indtype(read_only::SparseArrays.ReadOnly)::Type
    return SparseArrays.indtype(parent(read_only))
end

function SparseArrays.nnz(read_only::SparseArrays.ReadOnly)::Integer
    return SparseArrays.nnz(parent(read_only))
end

Any reason they shouldn't exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions