提交 821941d9 编写于 作者: M Marius Muja

Compilation error fix

上级 e7dfa09f
......@@ -112,7 +112,7 @@ template <template<typename> class Index, typename Distance, typename T>
NNIndex<Distance>* create_index_(flann::Matrix<T> data, const flann::IndexParams& params, const Distance& distance,
typename enable_if<valid_combination<Index,Distance,T>::value,void>::type* = 0)
{
return new Index<Distance>(data, params);
return new Index<Distance>(data, params,distance);
}
template <template<typename> class Index, typename Distance, typename T>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册