Skip to content
Snippets Groups Projects
Commit 667f76fe authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Removed some redundant __repr__methods

parent 02618d4c
No related branches found
No related tags found
1 merge request!63Docstring update
......@@ -630,10 +630,6 @@ class Uniform(Prior):
return scipy.stats.uniform.pdf(val, loc=self.minimum,
scale=self.maximum-self.minimum)
def __repr__(self):
"""Call to helper method in the super class."""
return Prior._subclass_repr_helper(self)
class LogUniform(PowerLaw):
......@@ -697,10 +693,6 @@ class Cosine(Prior):
in_prior = (val >= self.minimum) & (val <= self.maximum)
return np.cos(val) / 2 * in_prior
def __repr__(self):
"""Call to helper method in the super class."""
return Prior._subclass_repr_helper(self)
class Sine(Prior):
......@@ -743,10 +735,6 @@ class Sine(Prior):
in_prior = (val >= self.minimum) & (val <= self.maximum)
return np.sin(val) / 2 * in_prior
def __repr__(self):
"""Call to helper method in the super class."""
return Prior._subclass_repr_helper(self)
class Gaussian(Prior):
def __init__(self, mu, sigma, name=None, latex_label=None):
......
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