Skip to content

Commit

Permalink
Revert "fixed species roots atrandomly resolvd multifurcations, but o…
Browse files Browse the repository at this point in the history
…nly fixed for --ml so far"

This reverts commit b831c9c.
  • Loading branch information
lutteropp committed Jul 4, 2020
1 parent b831c9c commit 2a953cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ static void dp_recurse(rtree_t * node, long method)
/* if at least one of the two entries is not valid/filled, skip */
if (!v_vec[j].filled || !w_vec[k].filled) continue;

/* Fix species roots at randomlyresolved multifurcations */
if (node->left->length == 0 && node->left->left && v_vec[j].species_count == 1) continue;
if (node->right->length == 0 && node->right->left && w_vec[k].species_count == 1) continue;

int i = j + k + u_edge_count;

/* set the number of species */
Expand Down

0 comments on commit 2a953cc

Please sign in to comment.