@@ -51,7 +51,7 @@ class parallel_knnSearch
51
51
typedef typename Distance::ResultType DistanceType;
52
52
53
53
parallel_knnSearch (const Matrix<ElementType>& queries,
54
- Matrix<int >& indices,
54
+ Matrix<size_t >& indices,
55
55
Matrix<DistanceType>& distances,
56
56
size_t knn,
57
57
const SearchParams& params,
@@ -111,7 +111,7 @@ class parallel_knnSearch
111
111
// ! Matrix for storing the indices of the nearest neighbors
112
112
// ! \note no need for this to be a parallel container, each worker thread
113
113
// ! solely operates on its specified range!
114
- Matrix<int >& indices_;
114
+ Matrix<size_t >& indices_;
115
115
116
116
// ! Matrix for storing the distances to the nearest neighbors
117
117
// ! \note no need for this to be a parallel container, each worker thread
@@ -141,7 +141,7 @@ class parallel_knnSearch2
141
141
typedef typename Distance::ResultType DistanceType;
142
142
143
143
parallel_knnSearch2 (const Matrix<ElementType>& queries,
144
- std::vector< std::vector<int > >& indices,
144
+ std::vector< std::vector<size_t > >& indices,
145
145
std::vector<std::vector<DistanceType> >& distances,
146
146
size_t knn,
147
147
const SearchParams& params,
@@ -209,7 +209,7 @@ class parallel_knnSearch2
209
209
// ! Vector for storing the indices of the nearest neighbors
210
210
// ! \note no need for this to be a parallel container, each worker thread
211
211
// ! solely operates on its specified range!
212
- std::vector< std::vector<int > >& indices_;
212
+ std::vector< std::vector<size_t > >& indices_;
213
213
214
214
// ! Vector for storing the distances to the nearest neighbors
215
215
// ! \note no need for this to be a parallel container, each worker thread
@@ -249,7 +249,7 @@ class parallel_radiusSearch
249
249
* (specified by the blocked_range parameter)
250
250
*/
251
251
parallel_radiusSearch (const Matrix<ElementType>& queries,
252
- Matrix<int >& indices,
252
+ Matrix<size_t >& indices,
253
253
Matrix<DistanceType>& distances,
254
254
float radius,
255
255
const SearchParams& params,
@@ -329,7 +329,7 @@ class parallel_radiusSearch
329
329
// ! Matrix for storing the indices of the nearest neighbors
330
330
// ! \note no need for this to be a parallel container, each worker thread
331
331
// ! solely operates on its specified range!
332
- Matrix<int >& indices_;
332
+ Matrix<size_t >& indices_;
333
333
334
334
// ! Matrix for storing the distances to the nearest neighbors
335
335
// ! \note no need for this to be a parallel container, each worker thread
@@ -369,7 +369,7 @@ class parallel_radiusSearch2
369
369
* (specified by the blocked_range parameter)
370
370
*/
371
371
parallel_radiusSearch2 (const Matrix<ElementType>& queries,
372
- std::vector< std::vector<int > >& indices,
372
+ std::vector< std::vector<size_t > >& indices,
373
373
std::vector<std::vector<DistanceType> >& distances,
374
374
float radius,
375
375
const SearchParams& params,
@@ -446,7 +446,7 @@ class parallel_radiusSearch2
446
446
// ! Vector for storing the indices of the nearest neighbors
447
447
// ! \note no need for this to be a parallel container, each worker thread
448
448
// ! solely operates on its specified range!
449
- std::vector< std::vector<int > >& indices_;
449
+ std::vector< std::vector<size_t > >& indices_;
450
450
451
451
// ! Vector for storing the distances to the nearest neighbors
452
452
// ! \note no need for this to be a parallel container, each worker thread
0 commit comments