Skip to content
Snippets Groups Projects

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

Merged Resolve #463 (Prior Constraints "Simple Example" not working)
All threads resolved!
Merged Bruce Edelman requested to merge bruce.edelman/bilby:example_fix into master
All threads resolved!
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -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:
Loading