Commit 7d179bd2 authored by Theo Steininger's avatar Theo Steininger

Fixed bug in EnsembleLikelihood

parent 9b551026
...@@ -57,7 +57,7 @@ class EnsembleLikelihood(Likelihood): ...@@ -57,7 +57,7 @@ class EnsembleLikelihood(Likelihood):
alpha *= weight**2 alpha *= weight**2
numerator = alpha + mu**2 numerator = alpha + mu**2
denominator = (k + 1) / (alpha - (mu**2)/n) denominator = (k + 1) * (alpha - (mu**2)/n)
if denominator == 0: if denominator == 0:
rho = 1 rho = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment