Skip to content

Commit

Permalink
clean up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
xji3 committed Nov 13, 2023
1 parent 55c57a3 commit ce44de7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dr/evomodel/coalescent/smooth/SkyGlideLikelihood.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ public double getSingleTreeLogLikelihood(int index) {
final double intervalStart = thisTree.getNodeHeight(thisTree.getNode(nodeIndices[0]));
final double intervalEnd = thisTree.getNodeHeight(thisTree.getNode(nodeIndices[1]));

if (intervalStart != intervalEnd) { // no grid points within interval
// lnL -= 0.5 * lineageCount * (lineageCount - 1) * getLinearInverseIntegral(intervalStart, intervalEnd, currentGridIndex);
// } else {
if (intervalStart != intervalEnd) {
int[] gridIndices = getGridPoints(currentGridIndex, intervalStart, intervalEnd);
final int firstGridIndex = gridIndices[0];
final int lastGridIndex = gridIndices[1];
Expand Down

0 comments on commit ce44de7

Please sign in to comment.