When I try to use parts from AddPdf, AddPdfNorm ... I encounter an error
TypeError: Unable to obtain function signature
I've dug a bit this because in parts FakeFunc is applied on a cython_function, andcalling iminuit.describe on this function doesn't work.
I think that this can be removed in partsret = FakeFunc(tmp)ret.func_code = self.func_code
Hi,
When I try to use parts from AddPdf, AddPdfNorm ... I encounter an error
TypeError: Unable to obtain function signature
I've dug a bit this because in parts FakeFunc is applied on a cython_function, andcalling iminuit.describe on this function doesn't work.I think that this can be removed in
parts
ret = FakeFunc(tmp)
ret.func_code = self.func_code
because It doesn't seems to be useful.
Matt