Skip to content

Commit

Permalink
make travis ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
xji3 committed Aug 4, 2023
1 parent 77713e9 commit 04b3519
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dr/evomodel/branchratemodel/AbstractBranchRateModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public void makeDirty() {
public LogColumn[] getColumns() {
if (this instanceof DifferentiableBranchRates) {
Tree tree = ((DifferentiableBranchRates) this).getTree();
if (tree == null) {
return super.getColumns();
}
LogColumn[] columns = new LogColumn[tree.getNodeCount() - 1];
for (int i = 0; i < columns.length; i++) {
if (tree.getNode(i) != tree.getRoot())
Expand Down

0 comments on commit 04b3519

Please sign in to comment.