Skip to content
Snippets Groups Projects
Commit e5a5dbe3 authored by Colm Talbot's avatar Colm Talbot
Browse files

Make likelihood condition strictly increasing

parent 82510d28
No related branches found
No related tags found
1 merge request!846Make likelihood condition strictly increasing
Pipeline #146123 passed
......@@ -756,7 +756,7 @@ def sample_rwalk_bilby(args):
# Check proposed point.
v_prop = prior_transform(np.array(u_prop))
logl_prop = loglikelihood(np.array(v_prop))
if logl_prop >= loglstar:
if logl_prop > loglstar:
u = u_prop
v = v_prop
logl = logl_prop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment