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 computation for closest coordinate of segment #9

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

MichaelKutzner
Copy link
Contributor

This fixes an issue, where the algorithm returned the starting point of a segment, if the given coordinate was located on or close to the segment.

@felixguendling
Copy link
Member

Can you please add one or two test cases to prevent regressions?

@MichaelKutzner
Copy link
Contributor Author

Sure, tests will follow. My current test set does not work without some pending changes and are therefore not commit, yet. I'll split them up.

@felixguendling felixguendling merged commit a16bb99 into motis-project:master Aug 28, 2024
6 of 8 checks passed
@MichaelKutzner MichaelKutzner deleted the closest_fix branch August 28, 2024 09:10
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.

2 participants