Skip to content

forward fill! for views of OffsetArrays? #321

@simeonschaub

Description

@simeonschaub

Would it be possible to forward fill!(a::SubArray{T, N, <:OffsetArray}, x) to fill!(view(parent(parent(a)), ...), x)? I'm having issues because I want to fill a view of an OffsetArray backed by a CuArray, but currently this tries to use the fallback definition in Base which requires scalar indexing.

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