提交 ce5ad8ce 编写于 作者: A Alastair Quadros

knnSearch (on vector<size_t>) missing const

上级 04b4a565
......@@ -272,7 +272,7 @@ public:
std::vector< std::vector<size_t> >& indices,
std::vector<std::vector<DistanceType> >& dists,
size_t knn,
const SearchParams& params)
const SearchParams& params) const
{
return nnIndex_->knnSearch(queries, indices, dists, knn, params);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册