Skip to content

Commit 0780a28

Browse files
Fix a couple of type mismatches (facebookresearch#3059)
Summary: Pull Request resolved: facebookresearch#3059 Reviewed By: mdouze Differential Revision: D49617392 Pulled By: mlomeli1 fbshipit-source-id: 6a81fcae7be138a734edcb3996c369256de727ba
1 parent 592f301 commit 0780a28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faiss/IndexIVFFlat.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ IndexIVFFlat::IndexIVFFlat() {
4646
void IndexIVFFlat::add_core(
4747
idx_t n,
4848
const float* x,
49-
const int64_t* xids,
50-
const int64_t* coarse_idx) {
49+
const idx_t* xids,
50+
const idx_t* coarse_idx) {
5151
FAISS_THROW_IF_NOT(is_trained);
5252
FAISS_THROW_IF_NOT(coarse_idx);
5353
FAISS_THROW_IF_NOT(!by_residual);

0 commit comments

Comments
 (0)