Skip to content

Commit e255b9b

Browse files
Adapt signature change of get_InvertedListScanner in faiss/IndexIVFPQ.cpp
1 parent 90fe29b commit e255b9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faiss/IndexIVFPQ.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ void IndexIVFPQ::compute_distance_to_codes_for_list(
14261426
float* dist_table) const {
14271427

14281428
std::unique_ptr<InvertedListScanner> scanner(
1429-
get_InvertedListScanner(true, nullptr));
1429+
get_InvertedListScanner(true, nullptr, nullptr));
14301430

14311431

14321432
if (dist_table) {
@@ -1478,7 +1478,7 @@ void IndexIVFPQ::compute_distance_table(
14781478
float* dist_table) const {
14791479

14801480
std::unique_ptr<InvertedListScanner> scanner(
1481-
get_InvertedListScanner(true, nullptr));
1481+
get_InvertedListScanner(true, nullptr, nullptr));
14821482

14831483
scanner->set_query(x);
14841484

0 commit comments

Comments
 (0)