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: rdp calculation #1

Merged
merged 2 commits into from
Sep 5, 2024
Merged

fix: rdp calculation #1

merged 2 commits into from
Sep 5, 2024

Conversation

muktihari
Copy link
Owner

  • Fix wrong formula on perpendicular distance calculation, now it has been simplify for easier read.
  • Fix infinite loop when we get index either 0 or len(points) as the slice input for next operation is never changed if we keep it as is.

@muktihari muktihari added the bug Something isn't working label Sep 5, 2024
@muktihari muktihari self-assigned this Sep 5, 2024
@muktihari muktihari merged commit 964c2c3 into master Sep 5, 2024
1 check passed
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@muktihari muktihari deleted the fix/rdp-calculation branch September 5, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants