Skip to content

1.2: SparseArrays commits type piracy in override of copy #32213

Closed

Description

The following is an instance of type-piracy:

copy(A::SubArray{T,2}) where T = getindex(unwrap(parent(A)), A.indices...)

It was introduced by @KlausC in 7a75d6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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