Skip to content

Commit

Permalink
Fix a bug inside reportTree function.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskf committed Feb 22, 2024
1 parent d68b0b6 commit 2d2f473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/phyloanalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ void reportTree(ofstream &out, Params &params, PhyloTree &tree, double tree_lh,
vector<double> totalLens; // for tree mixture
int df;
size_t i;
IQTreeMix* treemix;
IQTreeMix* treemix = NULL;

if (tree.isTreeMix()) {
treemix = (IQTreeMix*) &tree;
Expand Down

0 comments on commit 2d2f473

Please sign in to comment.