Skip to content

Commit

Permalink
rm duplicate Yule in prior alexeid/toroidalDiffusion#6
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Nov 18, 2024
1 parent aadbac1 commit c9e24b7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public TreeDistribution generatorToBEAST(InternalNodesID generator, BEASTInterfa
// rm old beast obj
Tree treeInternalNodesNoID = (Tree) context.getBEASTObject(lphyTreeInternalNodesNoID);
context.removeBEASTObject(treeInternalNodesNoID);

// this creates a new YuleModel mapping in lphybeast
context.removeBEASTObject(treeDistribution);
return treeDistribution;

} else throw new IllegalArgumentException();
Expand Down

0 comments on commit c9e24b7

Please sign in to comment.