Skip to content

Commit

Permalink
WB fix. Closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavryushkina Alexandra committed Dec 20, 2016
1 parent 38c25b7 commit 1ebfe7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beast/evolution/operators/SAWilsonBalding.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public double proposal() {
}

// make sure that there is at least one candidate edge to attach node iP to
if (iP.getParent() == null && CiP.getHeight() < i.getHeight()) {
if (iP.getParent() == null && CiP.getHeight() <= i.getHeight()) {
return Double.NEGATIVE_INFINITY;
}

Expand Down

0 comments on commit 1ebfe7d

Please sign in to comment.