Update 'cv8/program.c'
This commit is contained in:
parent
2ce13354b8
commit
35f64d5ec1
@ -89,7 +89,7 @@ int count_no_leaves(struct tree* node) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 1 + count_n_leaves(node->left) + count_n_leaves(node->right);
|
||||
return 1 + count_no_leaves(node->left) + count_no_leaves(node->right);
|
||||
}
|
||||
|
||||
void knowledge_system(struct tree* node) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user