Skip to content

Commit

Permalink
Merge branch 'main' into cuvs-migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Sep 17, 2024
2 parents f207def + 317bd00 commit 42dc0b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faiss/impl/residual_quantizer_encode_steps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void accum_and_store_tab(
for (size_t ij = 1; ij < M; ij++) {
reg += cbs[ij][kk];
}
output[b * K + kk] = reg;
output[kk] = reg;
}
}

Expand Down Expand Up @@ -152,7 +152,7 @@ void accum_and_add_tab(
for (size_t ij = 1; ij < M; ij++) {
reg += cbs[ij][kk];
}
output[b * K + kk] += reg;
output[kk] += reg;
}
}

Expand Down

0 comments on commit 42dc0b7

Please sign in to comment.