Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed PathTrie not storing value in root node #13

Merged
merged 1 commit into from
Feb 13, 2020
Merged

Fixed PathTrie not storing value in root node #13

merged 1 commit into from
Feb 13, 2020

Conversation

gammazero
Copy link
Contributor

PathTrie was not storing the value for and empty key in the root node, but was creating a new child of root. This PR fixes this and includes a unit test to confirm.

@dghubble
Copy link
Owner

Thanks

miihael pushed a commit to miihael/trie that referenced this pull request Sep 3, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants