Skip to content
Snippets Groups Projects
Commit fcabd706 authored by alec.schmidt's avatar alec.schmidt
Browse files

Update bp_tree.c

parent d3cfbabb
No related branches found
No related tags found
No related merge requests found
......@@ -170,14 +170,12 @@ node* bp_insert_val(node* tree, int val)
printf("%d\n", tree->count);
if (tree->count == M)
{
printf("prout\n");
return bp_split_root(tree);
}
return tree;
}
tree = bp_create_node();
tree->childs[0] = test.lhs;
tree->childs[1] = test.rhs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment