Skip to content

Conversation

@jleedev
Copy link

@jleedev jleedev commented Sep 20, 2022

e.g.

> quantile([1,2,3])                                                             
^CUncaught Error: Script execution was interrupted by `SIGINT`

While the quantile function might wish to define a specific error or default behavior, the underlying cause is quickselect shuffling elements between integral indices and "undefined"; this is obviously nonsensical and quickselect should instead complain about an invalid pivot index.

@mbostock mbostock closed this in 2e7ffcc Dec 3, 2022
@jleedev jleedev deleted the patch-1 branch December 3, 2022 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant