Increased the maximum depth of AVL trees

This commit is contained in:
Celine Mercier
2016-02-29 16:27:23 +01:00
parent 4df313c54a
commit 8e9e21a02e
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
*/
#define AVL_GROWTH_FACTOR (2) /**< The growth factor when an AVL tree is enlarged.
*/
#define AVL_MAX_DEPTH (50) /**< The maximum depth of an AVL tree.
#define AVL_MAX_DEPTH (1000) /**< The maximum depth of an AVL tree.
*/
#define LEFT_CHILD(node) (avl->tree)+(node->left_child) /**< Pointer to the left child of a node in an AVL tree.
*/