microsoft / DiskANN

Graph-structured Indices for Scalable, Fast, Fresh and Filtered Approximate Nearest Neighbor Search
Other
1.02k stars 208 forks source link

[BUG] Incorrect use of _pts_to_label_counts #560

Open MS-Renan opened 2 months ago

MS-Renan commented 2 months ago

This line exists, pq_flash_index@678. Throws access violation because start_vec can be larger than its own size. uint32_t num_lbls = _pts_to_label_counts[start_vec];

This line/var is not even used, so Im removing it.