From b597140e524dc32f483bcb53cda2f24d50f0291d Mon Sep 17 00:00:00 2001 From: Moritz Huebner <email@moritz-huebner.de> Date: Tue, 22 May 2018 21:21:51 +1000 Subject: [PATCH] Moritz Huebner: Added call to super class --- tupak/prior.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tupak/prior.py b/tupak/prior.py index 5918780ea..32f46c653 100644 --- a/tupak/prior.py +++ b/tupak/prior.py @@ -297,7 +297,8 @@ class Interped(Prior): self.xx = xx self.yy = yy self.all_interpolated = interp1d(x=xx, y=yy, bounds_error=False, fill_value=0) - Prior.__init__(self, name, latex_label, minimum=np.nanmax(np.array((min(xx), minimum))), + Prior.__init__(self, name, latex_label, + minimum=np.nanmax(np.array((min(xx), minimum))), maximum=np.nanmin(np.array((max(xx), maximum)))) self.__initialize_attributes() -- GitLab