Mercurial > hg > audiodb
diff audioDB.cpp @ 467:51d02229288f
Removed silly restriction on query point. Now has a more sensible upper bound
author | mas01mc |
---|---|
date | Wed, 31 Dec 2008 14:08:43 +0000 |
parents | dc099cd34b5b |
children | f9d86b1db21c |
line wrap: on
line diff
--- a/audioDB.cpp Tue Dec 30 17:16:02 2008 +0000 +++ b/audioDB.cpp Wed Dec 31 14:08:43 2008 +0000 @@ -702,8 +702,8 @@ if(!args_info.exhaustive_flag){ queryPoint = args_info.qpoint_arg; usingQueryPoint=1; - if(queryPoint<0 || queryPoint >10000) - error("queryPoint out of range: 0 <= queryPoint <= 10000"); + if(queryPoint<0 || queryPoint >O2_MAX_VECTORS) + error("queryPoint out of range: 0 <= queryPoint <= O2_MAX_VECTORS"); } // Whether to pre-load LSH hash tables for query (default on, if flag set then off)