Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit b8c0785

Browse files
committed
Merge branch 'latest' of https://github.com/Cibiv/IQ-TREE into latest
2 parents 0ef7817 + c1e64c2 commit b8c0785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/phylotree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void PhyloTree::readTree(const char *infile, bool &is_rooted) {
280280
MTree::readTree(infile, is_rooted);
281281
// 2015-10-14: has to reset this pointer when read in
282282
current_it = current_it_back = NULL;
283-
if (rooted)
283+
if (rooted && root)
284284
computeBranchDirection();
285285
}
286286

0 commit comments

Comments
 (0)