mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
(balance_intervals_internal): Recurse directly.
This commit is contained in:
parent
e60ea278e1
commit
8f3b9b9586
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user