diff --git a/tupak/prior.py b/tupak/prior.py index 5918780ea53e4f7e4b1740ff08f17e3dabc6fc52..32f46c653cb7233e2359950e89ef9b18d856a775 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()