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

add warning for observations of zero fitness #2

Open
garciacallejas opened this issue Sep 20, 2021 · 0 comments
Open

add warning for observations of zero fitness #2

garciacallejas opened this issue Sep 20, 2021 · 0 comments

Comments

@garciacallejas
Copy link
Collaborator

in cxr_pm_fit, when an observation has fitness = 0, the function should throw an error with an appropriate message. As it stands, it returns a cryptic error: "Function returned is infinite or NA (non-computable)".

This happens because fitness values are log-transformed internally.

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