Skip to content

Commit

Permalink
x0 to x1
Browse files Browse the repository at this point in the history
  • Loading branch information
gavryushkina committed Dec 19, 2018
1 parent 465c0ec commit 3eeb5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beast/evolution/speciation/SABirthDeathModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public double calculateTreeLogLikelihood(TreeInterface tree)

if (conditionOnSamplingInput.get()) {
if (conditionOnRootInput.get()) {
logPost -= Math.log(lambda*oneMinusP0(x0, c1, c2)* oneMinusP0(x1, c1, c2));
logPost -= Math.log(lambda*oneMinusP0(x1, c1, c2)* oneMinusP0(x1, c1, c2));
} else {
logPost -= Math.log(oneMinusP0(x0, c1, c2));
}
Expand Down

0 comments on commit 3eeb5ab

Please sign in to comment.