Skip to content

incorrect collect override #6

@nsajko

Description

@nsajko

It's not correct to "return only stored values".

# Override collect to return only stored values
"""
collect(A::NDSparseArray)
Collect only the stored values in the sparse array.
To get a dense representation, use `to_dense(A)`.
"""
Base.collect(A::NDSparseArray) = collect(stored_values(A))

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