Mercurial > hg > audiodb
changeset 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 | f283448a40db |
| children | add65705e655 |
| files | audioDB.cpp |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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)
