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

Crash if we add just one element to heapq #1

Open
haolimin01 opened this issue Apr 27, 2019 · 0 comments
Open

Crash if we add just one element to heapq #1

haolimin01 opened this issue Apr 27, 2019 · 0 comments

Comments

@haolimin01
Copy link

If we just add one element to heapq, then dict heap_index contains no element. So size of dict is not equal to size of heapq, which is implemented by list.

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

No branches or pull requests

1 participant