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

Node48 add_child #3

Closed
Lawliet-Chan opened this issue Dec 1, 2019 · 1 comment
Closed

Node48 add_child #3

Lawliet-Chan opened this issue Dec 1, 2019 · 1 comment

Comments

@Lawliet-Chan
Copy link

https://github.com/UncP/aili/blob/master/art/art_node.c#L395
这里是不是写错了? add_child 增加节点应该是往 children pointers 的末尾append一个 node. 所以不应该是 an48->child[get_count(version)] = child; 才对吧?

@UncP
Copy link
Owner

UncP commented Dec 2, 2019

上一行 count 已经增加了

@UncP UncP closed this as completed Dec 2, 2019
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

2 participants