[x] Does this PR have a descriptive title that could go in our release notes?
[ ] Does this PR add any new dependencies?
[ ] Does this PR modify any existing APIs?
[ ] Is the change to the API backwards compatible?
[ ] Should this result in any changes to our documentation, either updating existing docs or adding new ones?
Reference Issues/PRs
None
What does this implement/fix? Briefly explain your changes.
This PR resizes the dist_scratch vector to have the same size as the id_scratch vector which is a needed pre-allocation for the writing of distances during index building time
Reference Issues/PRs
None
What does this implement/fix? Briefly explain your changes.
This PR resizes the
dist_scratch
vector to have the same size as theid_scratch
vector which is a needed pre-allocation for the writing of distances during index building timeAny other comments?
None