Skip to content

add failsafe in heap.py to prevent ValueError#60

Closed
Dan-megabyte wants to merge 1 commit intobrean:mainfrom
Dan-megabyte:main
Closed

add failsafe in heap.py to prevent ValueError#60
Dan-megabyte wants to merge 1 commit intobrean:mainfrom
Dan-megabyte:main

Conversation

@Dan-megabyte
Copy link
Copy Markdown

This is a minor edit which works around #59

@brean
Copy link
Copy Markdown
Owner

brean commented Sep 8, 2024

As this might lead to unintended behavior (in this case something is wrong with your input data and it should fail here because it will not find a correct path otherwise) I will not accept this PR, however we can talk about additional steps to prevent the error from happening and maybe nicer handling of data.

@brean brean closed this Sep 8, 2024
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.

3 participants