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

Merge branch 'example_fix' into 'master'

Resolve #463 (Prior Constraints "Simple Example" not working)

Closes #463

See merge request lscsoft/bilby!753
parents 258477c2 f3b5c2a9
No related branches found
No related tags found
1 merge request!753Resolve #463 (Prior Constraints "Simple Example" not working)
Pipeline #116795 failed
......@@ -178,8 +178,9 @@ First thing: define a function which generates z=x-y from x and y.
-------
dict: Dictionary with constraint parameter 'z' added.
"""
parameters['z'] = parameters['x'] - parameters['y']
return parameters
converted_parameters = parameters.copy()
converted_parameters['z'] = parameters['x'] - parameters['y']
return converted_parameters
Create our prior:
......
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