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

Fix incorrect plateau identification #31

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Fix incorrect plateau identification #31

merged 1 commit into from
Jul 31, 2023

Conversation

halleysfifthinc
Copy link
Owner

A plateau could be falsely identified if the first element of the window (x[i-w]) was
exactly equal to x[i] due to not checking that a plateau element occurs after i.

Fixes #30.

@halleysfifthinc halleysfifthinc merged commit 077381a into master Jul 31, 2023
11 checks passed
@halleysfifthinc halleysfifthinc deleted the fix-30 branch July 31, 2023 16:05
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

Successfully merging this pull request may close these issues.

Wrong local maximum
1 participant