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

Predict bit width more accurately #186

Merged
merged 3 commits into from
Apr 6, 2023
Merged

Conversation

xchang1
Copy link
Contributor

@xchang1 xchang1 commented Apr 3, 2023

This fixes a bug in distance index construction where the bit width estimated to be too large.
Also stop using accumulate() to sum a list of size_t's, because it overflowed when the numbers exceeded 32 bits

@xchang1 xchang1 merged commit bd14733 into master Apr 6, 2023
@xchang1 xchang1 deleted the distance-indexing-bugfix branch April 6, 2023 13:52
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.

1 participant