Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion faiss/impl/NNDescent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void NNDescent::build(DistanceComputer& qdis, const int n, bool verbose) {
init_graph(qdis);
nndescent(qdis, verbose);

final_graph.resize(ntotal * K);
final_graph.resize(uint64_t(ntotal) * K);

// Store the neighbor link structure into final_graph
// Clear the old graph
Expand Down
Loading