Skip to content
Snippets Groups Projects
Commit 308c8219 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'dynesty-likelihood-condition-fix' into 'master'

Make likelihood condition strictly increasing

See merge request !846
parents 50af3829 e5a5dbe3
No related branches found
No related tags found
1 merge request!846Make likelihood condition strictly increasing
Pipeline #148128 passed
...@@ -756,7 +756,7 @@ def sample_rwalk_bilby(args): ...@@ -756,7 +756,7 @@ def sample_rwalk_bilby(args):
# Check proposed point. # Check proposed point.
v_prop = prior_transform(np.array(u_prop)) v_prop = prior_transform(np.array(u_prop))
logl_prop = loglikelihood(np.array(v_prop)) logl_prop = loglikelihood(np.array(v_prop))
if logl_prop >= loglstar: if logl_prop > loglstar:
u = u_prop u = u_prop
v = v_prop v = v_prop
logl = logl_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