Skip to content

findlocalmaxima fail to handle repeated peaks #248

@JiangXL

Description

@JiangXL
julia> findlocalmaxima([1 2 3 2 1])
1-element Vector{CartesianIndex{2}}:
 CartesianIndex(1, 3)

julia> findlocalmaxima([1 2 3 3 1])
CartesianIndex{2}[]

I'm not sure whether it is a bug or I need to handle this case outside findlocalmaxia

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