Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanhaoji2 committed Nov 27, 2024
1 parent 5413227 commit 1ebc6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ std::shared_ptr<PQDataStore<T>> IndexFactory::construct_pq_datastore(DataStoreSt
template <typename data_type, typename tag_type, typename label_type>
std::unique_ptr<AbstractIndex> IndexFactory::create_instance()
{
size_t num_points = _config->max_points + _config->num_frozen_pts;
size_t num_points = _config->max_points;
size_t dim = _config->dimension;
// auto graph_store = construct_graphstore(_config->graph_strategy, num_points);
auto data_store = construct_datastore<data_type>(_config->data_strategy, num_points, dim, _config->metric);
Expand Down

0 comments on commit 1ebc6c9

Please sign in to comment.