@@ -63,7 +63,7 @@ auto vq_query_heap(
6363template  <class  DB , class  Q >
6464auto  vq_query_heap (DB& db, const  Q& q, int  k_nn, unsigned  nthreads) {
6565  return  vq_query_heap (
66-       without_ids{}, db, q, std::vector<size_t >{}, k_nn, nthreads);
66+       without_ids{}, db, q, std::vector<uint64_t >{}, k_nn, nthreads);
6767}
6868
6969template  <class  DB , class  Q , class  ID >
@@ -83,11 +83,11 @@ auto vq_query_heap(
8383    unsigned  nthreads) {
8484  //  @todo Need to get the total number of queries, not just the first block
8585  //  @todo Use Matrix here rather than vector of vectors
86-    
86+ 
8787  //  using feature_type = typename std::remove_reference_t<decltype(db)>::value_type;
8888  using  id_type = typename  std::remove_reference_t <decltype (ids)>::value_type;
8989  using  score_type = float ;
90-    
90+ 
9191  std::vector<std::vector<fixed_min_pair_heap<score_type, id_type>>> scores (
9292      nthreads,
9393      std::vector<fixed_min_pair_heap<score_type, id_type>>(
@@ -173,7 +173,7 @@ auto vq_query_heap_tiled(
173173template  <class  DB , class  Q >
174174auto  vq_query_heap_tiled (DB& db, const  Q& q, int  k_nn, unsigned  nthreads) {
175175  return  vq_query_heap_tiled (
176-       without_ids{}, db, q, std::vector<size_t >{}, k_nn, nthreads);
176+       without_ids{}, db, q, std::vector<uint64_t >{}, k_nn, nthreads);
177177}
178178
179179template  <class  DB , class  Q , class  ID >
@@ -192,11 +192,11 @@ auto vq_query_heap_tiled(
192192    unsigned  nthreads) {
193193  //  @todo Need to get the total number of queries, not just the first block
194194  //  @todo Use Matrix here rather than vector of vectors
195-    
195+ 
196196  //  using feature_type = typename std::remove_reference_t<decltype(db)>::value_type;
197197  using  id_type = typename  std::remove_reference_t <decltype (ids)>::value_type;
198198  using  score_type = float ;
199-    
199+ 
200200  std::vector<std::vector<fixed_min_pair_heap<score_type, id_type>>> scores (
201201      nthreads,
202202      std::vector<fixed_min_pair_heap<score_type, id_type>>(
@@ -255,7 +255,7 @@ auto vq_query_heap_2(
255255template  <class  DB , class  Q >
256256auto  vq_query_heap_2 (DB& db, const  Q& q, int  k_nn, unsigned  nthreads) {
257257  return  vq_query_heap_2 (
258-       without_ids{}, db, q, std::vector<size_t >{}, k_nn, nthreads);
258+       without_ids{}, db, q, std::vector<uint64_t >{}, k_nn, nthreads);
259259}
260260
261261template  <class  DB , class  Q , class  ID >
0 commit comments