# HG changeset patch # User mas01mc # Date 1231593172 0 # Node ID 3171089ecfd74b8b5ebf40fe3bdbc37dff92e211 # Parent e7c7caa25e6d7f57bffc0747b78b0af927001944 removed defunct EXACT_MULT from query_loop_points() diff -r e7c7caa25e6d -r 3171089ecfd7 audioDB.h --- a/audioDB.h Sat Jan 10 11:28:51 2009 +0000 +++ b/audioDB.h Sat Jan 10 13:12:52 2009 +0000 @@ -69,8 +69,6 @@ // Because we work in Radius^2 units, // The sqrt of this number is the multiplier on the radius -#define O2_LSH_EXACT_MULT 1 - #define O2_OLD_MAGIC ('O'|'2'<<8|'D'<<16|'B'<<24) #define O2_MAGIC ('o'|'2'<<8|'d'<<16|'b'<<24) #define O2_FORMAT_VERSION (4U) diff -r e7c7caa25e6d -r 3171089ecfd7 query.cpp --- a/query.cpp Sat Jan 10 11:28:51 2009 +0000 +++ b/query.cpp Sat Jan 10 13:12:52 2009 +0000 @@ -589,7 +589,7 @@ dist = qn*qn + sn*sn - 2*dist; // else // dist = dist; - if((!radius) || dist <= (O2_LSH_EXACT_MULT*radius+O2_DISTANCE_TOLERANCE)) + if((!radius) || dist <= (radius+O2_DISTANCE_TOLERANCE)) reporter->add_point(pp.trackID, pp.qpos, pp.spos, dist); } exact_evaluation_queue->pop();