We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ae1ce commit 1586d4dCopy full SHA for 1586d4d
packages/treetime/src/commands/clock/reroot.rs
@@ -48,11 +48,11 @@ where
48
49
if new_root_key != old_root_key {
50
apply_reroot(graph, old_root_key, new_root_key, options)?;
51
- }
52
53
- // Clean up old root if it is now a trivial node, i.e. has exactly one parent and one child
54
- // Nb: the attributes of the old root node and branches (other than branch lengths) are discarded
55
- remove_node_if_trivial(graph, old_root_key)?;
+ // Clean up old root if it is now a trivial node, i.e. has exactly one parent and one child
+ // Nb: the attributes of the old root node and branches (other than branch lengths) are discarded
+ remove_node_if_trivial(graph, old_root_key)?;
+ }
56
57
Ok(new_root_key)
58
}
0 commit comments