Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
IMAGINE
Commits
97781aaa
Commit
97781aaa
authored
Sep 07, 2017
by
Theo Steininger
Browse files
Fixed bug in EnsembleLikelihood
parent
a5bf3bfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
imagine/likelihoods/ensemble_likelihood/ensemble_likelihood.py
View file @
97781aaa
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment