Skip to content

Commit

Permalink
Fix initial value for initial batch loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ozanarmagan committed Feb 5, 2024
1 parent 29bcb3b commit c5e189b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cpp/replaceSameLabel_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main() {
std::vector<int> labels;

std::cout << "Adding initial batch" << std::endl;
for(int row; row < max_elements; row++) {
for(int row = 0; row < max_elements; row++) {
int label = distrib_int(rng);
labels.push_back(label);
alg_hnsw->addPoint((void*)(initial_batch + d * row), label, true);
Expand Down

0 comments on commit c5e189b

Please sign in to comment.