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

Merge branch 'joint-prior-typo-fix' into 'master'

Fix typo in error message

See merge request lscsoft/bilby!806
parents 60785acb 84492f5f
No related branches found
No related tags found
1 merge request!806Fix typo in error message
Pipeline #132380 passed with warnings
......@@ -659,7 +659,7 @@ class JointPrior(Prior):
raise TypeError("Must supply a JointPriorDist object instance to be shared by all joint params")
if name not in dist.names:
raise ValueError("'{}' is not a parameter in the JointPriorDist")
raise ValueError("'{}' is not a parameter in the JointPriorDist".format(name))
self.dist = dist
super(JointPrior, self).__init__(name=name, latex_label=latex_label, unit=unit, minimum=dist.bounds[name][0],
......
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