File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ struct IVFBinaryScannerL2: BinaryInvertedListScanner {
333333 const uint8_t *codes,
334334 const idx_t *ids,
335335 int radius,
336- RangeQueryResult &result) const
336+ RangeQueryResult &result) const override
337337 {
338338 size_t nup = 0 ;
339339 for (size_t j = 0 ; j < n; j++) {
Original file line number Diff line number Diff line change 1414#include < cassert>
1515#include < cstring>
1616#include < cstdio>
17+ #include < cinttypes>
1718#include < cmath>
1819#include < omp.h>
1920
@@ -643,7 +644,7 @@ void IndexHNSW::link_singletons()
643644 }
644645 }
645646
646- printf (" Found %d / %zd singletons (%d appear in a level above)\n " ,
647+ printf (" Found %d / %" PRId64 " singletons (%d appear in a level above)\n " ,
647648 n_sing, ntotal, n_sing_l1);
648649
649650 std::vector<float >recons (singletons.size () * d);
You can’t perform that action at this time.
0 commit comments