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

Allow key_of_value in treap to use a type unrelated to the type used for priority checking #37

Closed
wants to merge 9 commits into from

Conversation

jm-mikkelsen
Copy link

This is to fix issue #35

In commit
4cf3898 the value used in priority comparison is the result of applying key_of_value. This doesn't seem to be intentional, and stops common cases which were previously allowed from working.

This change goes back to using the value type for priority comparison.

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.

1 participant