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

RuntimeWarning #11

Closed
cosmic-latte opened this issue Aug 13, 2019 · 3 comments
Closed

RuntimeWarning #11

cosmic-latte opened this issue Aug 13, 2019 · 3 comments
Labels
invalid This doesn't seem right

Comments

@cosmic-latte
Copy link

intervals.py:538: RuntimeWarning: invalid value encountered in less_equal
left = (item >= self._lower) if self._left == CLOSED else (item > self._lower)

RuntimeWarning: invalid value encountered in greater
right = (item <= self._upper) if self._right == CLOSED else (item < self._upper)

Anaconda3 2019.7
win10_1903 x64

@AlexandreDecan
Copy link
Owner

Hello,

Could you please provide the complete traceback and a reproducible example that leads to this issue?
According to what I see on Google for this RuntimeWarning, the problem seems related to numpy and more specifically to np.nan.

Thank you!

@cosmic-latte
Copy link
Author

Thank you for your prompt reply.
After seeing your reply, I checked my code, I've made a mistake.
I did not consider the np.nan in my ndarray.
Sorry for that.

@AlexandreDecan
Copy link
Owner

Glad your issue is solved;)

@AlexandreDecan AlexandreDecan added the invalid This doesn't seem right label Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants