Skip to content

copy of LazyArrays #85

@tlienart

Description

@tlienart

Long story short, the copy mechanism of apply arrays seems to cause issues in some problems, suggested alternative below.

context for this issue: JuliaData/Tables.jl#122 in particular reproducing MWE JuliaData/Tables.jl#122 (comment)

The problem identified by @nalimilan is:

AFAICT, the bug is that copy(A::ApplyArray) = ApplyArray(A.f, map(copy,A.args)...) when it should be copy(A::ApplyArray{T,N}) where {T,N} = ApplyArray{T,N}(A.f, map(copy,A.args)...). There may be other places with the same problem.

thoughts?

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