branch splitting in reroot
@@ -388,7 +388,7 @@ class TreeRegression(object):
new_node.up.clades = [k if k!=best_node else new_node
for k in best_node.up.clades]
- best_node.branch_length*(1-x)
+ best_node.branch_length *= x
best_node.up = new_node
new_node.rtt_regression = best_root
