-
-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gardening.pyx: Small simplifications in rooting code.
We can get rid of get_root_id() because we already have it all with node.root and node.id. Use a better naming, and also t.add_child(n) already sets the n.up = t, so no need to do it again.
- Loading branch information
Showing
1 changed file
with
4 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters