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

Float64Array.sort returns undefined in Safari for when length < 2. #123

Closed
mbostock opened this issue Oct 4, 2019 · 0 comments
Closed

Comments

@mbostock
Copy link
Member

mbostock commented Oct 4, 2019

In Safari, this returns undefined:

Float64Array.of(0).sort((a, b) => a - b)

This causes a crash in d3.quantile when data.length < 2.

https://observablehq.com/d/83e268c7b40ffa24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant