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

nan is outside the range of representable values of type 'int' #902

Closed
lionel- opened this issue Mar 10, 2020 · 1 comment · Fixed by #914
Closed

nan is outside the range of representable values of type 'int' #902

lionel- opened this issue Mar 10, 2020 · 1 comment · Fixed by #914

Comments

@lionel-
Copy link
Member

lionel- commented Mar 10, 2020

From clang-UBSAN: https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-UBSAN/vctrs/tests/testthat.Rout

Somehow wasn't picked up by the r-hub sanitizers machine.

@DavisVaughan
Copy link
Member

Need a if (isnan(elt)) {} check here

int out_elt = (int) elt;

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

Successfully merging a pull request may close this issue.

2 participants