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

Rjf/bug route on empty tree #267

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

robfitzgerald
Copy link
Collaborator

This little PR modifies the vertex backtrack function so that, when passed an empty tree, it terminates early with an empty vector. An empty tree is a valid search result for the case when the origin location and destination location match or are incident edges.

Copy link
Collaborator

@nreinicke nreinicke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep this makes sense

@robfitzgerald robfitzgerald merged commit edbf7e0 into main Dec 12, 2024
5 checks passed
@robfitzgerald robfitzgerald deleted the rjf/bug-route-on-empty-tree branch December 12, 2024 19:12
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