@@ -83,10 +83,10 @@ 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- std::vector<std::vector<fixed_min_pair_heap<float , unsigned >>> scores (
86+ std::vector<std::vector<fixed_min_pair_heap<float , Index >>> scores (
8787 nthreads,
88- std::vector<fixed_min_pair_heap<float , unsigned >>(
89- size (q), fixed_min_pair_heap<float , unsigned >(k_nn)));
88+ std::vector<fixed_min_pair_heap<float , Index >>(
89+ size (q), fixed_min_pair_heap<float , Index >(k_nn)));
9090
9191 unsigned size_q = size (q);
9292 auto par = stdx::execution::indexed_parallel_policy{nthreads};
@@ -184,10 +184,10 @@ auto vq_query_heap_tiled(
184184 unsigned nthreads) {
185185 // @todo Need to get the total number of queries, not just the first block
186186 // @todo Use Matrix here rather than vector of vectors
187- std::vector<std::vector<fixed_min_pair_heap<float , unsigned >>> scores (
187+ std::vector<std::vector<fixed_min_pair_heap<float , Index >>> scores (
188188 nthreads,
189- std::vector<fixed_min_pair_heap<float , unsigned >>(
190- size (q), fixed_min_pair_heap<float , unsigned >(k_nn)));
189+ std::vector<fixed_min_pair_heap<float , Index >>(
190+ size (q), fixed_min_pair_heap<float , Index >(k_nn)));
191191
192192 unsigned size_q = size (q);
193193 auto par = stdx::execution::indexed_parallel_policy{nthreads};
@@ -261,10 +261,10 @@ auto vq_query_heap_2(
261261 unsigned nthreads) {
262262 // @todo Need to get the total number of queries, not just the first block
263263 // @todo Use Matrix here rather than vector of vectors
264- std::vector<std::vector<fixed_min_pair_heap<float , size_t >>> scores (
264+ std::vector<std::vector<fixed_min_pair_heap<float , Index >>> scores (
265265 nthreads,
266- std::vector<fixed_min_pair_heap<float , size_t >>(
267- size (q), fixed_min_pair_heap<float , size_t >(k_nn)));
266+ std::vector<fixed_min_pair_heap<float , Index >>(
267+ size (q), fixed_min_pair_heap<float , Index >(k_nn)));
268268
269269 unsigned size_q = size (q);
270270 auto par = stdx::execution::indexed_parallel_policy{nthreads};
0 commit comments