# HG changeset patch # User mas01mc # Date 1230732523 0 # Node ID 51d02229288f4df8f4045931d8776f7286a78fba # Parent f283448a40db64970d100de69d5119b52c6a4e84 Removed silly restriction on query point. Now has a more sensible upper bound diff -r f283448a40db -r 51d02229288f audioDB.cpp --- 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)