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

Quantile min/max (i.e. p=0/1) doesn't work with a randomly order list of values #192

Open
sanjayginde opened this issue Nov 22, 2024 · 1 comment · May be fixed by #193
Open

Quantile min/max (i.e. p=0/1) doesn't work with a randomly order list of values #192

sanjayginde opened this issue Nov 22, 2024 · 1 comment · May be fixed by #193

Comments

@sanjayginde
Copy link

I noticed an issue that the quantile doesn't return the the property min or max quantile (where p = 0 || 1, respectively).

Checked out the code and looks like the quick checks aren't leveraging the sorted array.

sanjayginde added a commit to sanjayginde/fermat.js that referenced this issue Nov 22, 2024
@sanjayginde
Copy link
Author

Submitted PR #193 with a fix.

sanjayginde added a commit to sanjayginde/fermat.js that referenced this issue Nov 22, 2024
sanjayginde added a commit to sanjayginde/fermat.js that referenced this issue Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant