Commit 8f3b9b95 authored by Erik Naggum's avatar Erik Naggum
Browse files

(balance_intervals_internal): Recurse directly.

parent e60ea278
......@@ -431,9 +431,9 @@ balance_intervals_internal (tree)
{
/* Balance within each side. */
if (tree->left)
balance_intervals (tree->left);
balance_intervals_internal (tree->left);
if (tree->right)
balance_intervals (tree->right);
balance_intervals_internal (tree->right);
return balance_an_interval (tree);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment