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

Fix assert to handle nan #174

Closed
wants to merge 1 commit into from

Conversation

blaugold
Copy link
Contributor

@blaugold blaugold commented Nov 6, 2022

Fixes the assert in ValueSlot::set to handle nan values.

NB: This was discovered through fuzzing (#166).

@snej
Copy link
Contributor

snej commented Jul 19, 2023

Not sure it's a good idea to support NaNs; they can't be exported to JSON, and they have weird behavior overall. Did you find a situation where they were produced somehow without explicitly feeding one to the API?

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 this pull request may close these issues.

None yet

3 participants