Skip to content

Commit

Permalink
fix bug related to the latest update
Browse files Browse the repository at this point in the history
  • Loading branch information
tothuhien committed Apr 5, 2023
1 parent 0bfb2d3 commit 1b3ec2b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
Binary file modified bin/lsd2_mac
Binary file not shown.
Binary file modified bin/lsd2_unix
Binary file not shown.
1 change: 1 addition & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3114,6 +3114,7 @@ int collapseTree(Pr* pr,Node** nodes,Node** nodes_new,int* &tab, double toCollap

void collapseTreeReOrder(Pr* pr,Node** nodes,Pr* prReduced,Node** nodesReduced,int* &tab){
int root = (int)(!pr->rooted);
nodesReduced[0]=new Node();
nodesReduced[root]=new Node();
nodesReduced[root]->P=-1;
nodesReduced[root]->type=nodes[root]->type;
Expand Down

0 comments on commit 1b3ec2b

Please sign in to comment.