Skip to content

searchsortedfirst! should accept AbstractRange as x #29

@0samuraiE

Description

@0samuraiE

Thank you for this excellent package.

Regarding searchsortedfirst!, I think it's quite common to use an AbstractRange for the x argument. So I was wondering if the following signature could be allowed:

function searchsortedfirst!(
    ix::AbstractVector,
    v::AbstractVector,
    x,
    backend::AcceleratedKernels.Backend = get_backend(v)
)
Apologies if there's a specific reason it was not done this way.

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