Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findlocalmaxima fail to handle repeated peaks #248

Open
JiangXL opened this issue Jun 15, 2022 · 0 comments
Open

findlocalmaxima fail to handle repeated peaks #248

JiangXL opened this issue Jun 15, 2022 · 0 comments

Comments

@JiangXL
Copy link

JiangXL commented Jun 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant