Skip to content

Commit

Permalink
Fix a couple of type mismatches (#3059)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #3059

Reviewed By: mdouze

Differential Revision: D49617392

Pulled By: mlomeli1

fbshipit-source-id: 6a81fcae7be138a734edcb3996c369256de727ba
  • Loading branch information
alexanderguzhva authored and facebook-github-bot committed Sep 27, 2023
1 parent 592f301 commit 0780a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faiss/IndexIVFFlat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ IndexIVFFlat::IndexIVFFlat() {
void IndexIVFFlat::add_core(
idx_t n,
const float* x,
const int64_t* xids,
const int64_t* coarse_idx) {
const idx_t* xids,
const idx_t* coarse_idx) {
FAISS_THROW_IF_NOT(is_trained);
FAISS_THROW_IF_NOT(coarse_idx);
FAISS_THROW_IF_NOT(!by_residual);
Expand Down

0 comments on commit 0780a28

Please sign in to comment.