Skip to content

Commit

Permalink
Fix crash issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanhaoji2 committed Jul 28, 2024
1 parent c802d77 commit c4cd34c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/in_mem_static_graph_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ std::tuple<uint32_t, uint32_t, size_t> InMemStaticGraphStore::load_impl(const st
std::cout << "." << std::flush;

++nodes_read;

if (k > _max_range_of_graph)
{
_max_range_of_graph = k;
}
}

diskann::cout << "done. Index has " << nodes_read << " nodes and " << cc << " out-edges, _start is set to " << start
Expand Down

0 comments on commit c4cd34c

Please sign in to comment.