Commit 97781aaa authored by Theo Steininger's avatar Theo Steininger

Fixed bug in EnsembleLikelihood

parent a5bf3bfd
......@@ -57,7 +57,7 @@ class EnsembleLikelihood(Likelihood):
if denominator == 0:
rho = 1
else:
rho = np.min(1, numerator/denominator)
rho = np.min([1, numerator/denominator])
# rescale U half/half
u_val *= np.sqrt(1-rho)
......
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