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

Exceptional float values #30

Open
IanBriggs opened this issue Feb 6, 2020 · 1 comment
Open

Exceptional float values #30

IanBriggs opened this issue Feb 6, 2020 · 1 comment

Comments

@IanBriggs
Copy link
Collaborator

Currently gelpia will crash if nan or inf are used.
They are recognized as variable names leading to an invalid parse.

What should we do with these inputs?

It might be reasonable to accept infinite numbers.

Nan, on the other hand, I think should be treated as improper input and a descriptive error returned.

@monadius
Copy link
Member

monadius commented Feb 6, 2020

I think that infinite bounds should be allowed for input variables. It is also important to be able to split infinite intervals properly. But I think everything should work without any modifications because Gaol implements a good midpoint function.

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

2 participants