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

Fix typo in error message

parent ed8bef95
No related branches found
No related tags found
No related merge requests found
......@@ -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