From d98a431b4fb5628310f192afc003edfec6c5cb71 Mon Sep 17 00:00:00 2001 From: Alexandr Guzhva Date: Wed, 13 Sep 2023 16:27:15 -0400 Subject: [PATCH] Fix a couple of type mismatches --- faiss/IndexIVFFlat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faiss/IndexIVFFlat.cpp b/faiss/IndexIVFFlat.cpp index a6f090c2c9..07f410440d 100644 --- a/faiss/IndexIVFFlat.cpp +++ b/faiss/IndexIVFFlat.cpp @@ -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);