Merged bug fix from Stable into Unstable

This commit is contained in:
Ryan Poplin 2013-08-28 12:40:25 -04:00
commit 7479152977
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class GaussianMixtureModel {
}
// add this sample's probability to the pile in order to take an average in the end
sumPVarInGaussian += Math.pow(10.0, MathUtils.log10sumLog10(pVarInGaussianLog10)); // p = 10 ^ Sum(pi_k * p(v|n,k))
sumPVarInGaussian += Math.pow(10.0, nanTolerantLog10SumLog10(pVarInGaussianLog10)); // p = 10 ^ Sum(pi_k * p(v|n,k))
numRandomDraws++;
}
}