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

Moritz Huebner: Added call to super class

parent 6277bf2e
No related branches found
No related tags found
1 merge request!47min and max as properties for interpolated prior
Pipeline #
......@@ -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()
......
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