Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate arguments to likelihood function #8

Closed
JelleAalbers opened this issue Sep 8, 2016 · 1 comment
Closed

Validate arguments to likelihood function #8

JelleAalbers opened this issue Sep 8, 2016 · 1 comment

Comments

@JelleAalbers
Copy link
Owner

JelleAalbers commented Sep 8, 2016

Currently LogLikelihood.__call__ accepts **kwargs, and searches it for arguments corresponding to known rate and shape parameters. Thus, if you mistype a parameter, it will be silently ignored, and it appears the parameter does nothing. It would be better if you get an error when this happens instead.

@JelleAalbers
Copy link
Owner Author

Added in 5d441c5

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

No branches or pull requests

1 participant