Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Problem when using parts, and iminuit.describe #84

Closed
marinang opened this issue Aug 17, 2018 · 2 comments
Closed

Problem when using parts, and iminuit.describe #84

marinang opened this issue Aug 17, 2018 · 2 comments

Comments

@marinang
Copy link
Member

marinang commented Aug 17, 2018

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

@marinang
Copy link
Member Author

Maybe this would help #80!

@marinang
Copy link
Member Author

PR #91 solves this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant