gelpia icon indicating copy to clipboard operation
gelpia copied to clipboard

Exceptional float values

Open IanBriggs opened this issue 5 years ago • 1 comments

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.

IanBriggs avatar Feb 06 '20 17:02 IanBriggs

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.

monadius avatar Feb 06 '20 19:02 monadius