未验证 提交 f3a17cd3 编写于 作者: M Marius Muja 提交者: GitHub

Merge pull request #377 from ahmadhasan2k8/master

fixing unreachable code in lsh_table.h
...@@ -234,8 +234,7 @@ public: ...@@ -234,8 +234,7 @@ public:
size_t getKey(const ElementType* /*feature*/) const size_t getKey(const ElementType* /*feature*/) const
{ {
std::cerr << "LSH is not implemented for that type" << std::endl; std::cerr << "LSH is not implemented for that type" << std::endl;
throw; return -1;
return 1;
} }
/** Get statistics about the table /** Get statistics about the table
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册