Mercurial > hg > audiodb
comparison index.cpp @ 370:2d5c3f8e8c22
Merge gcc-4.3-cleanups branch (-r629:642, but I consider that branch as
having served its purpose) onto the trunk.
Now compiles cleanly even with a fairly picky gcc. I await version 4.4
with bated breath.
author | mas01cr |
---|---|
date | Wed, 12 Nov 2008 15:40:40 +0000 |
parents | a6edbe97fddf |
children | ef4792df8f93 dc099cd34b5b |
comparison
equal
deleted
inserted
replaced
355:94c18f128ce8 | 370:2d5c3f8e8c22 |
---|---|
601 else | 601 else |
602 lsh->serial_retrieve_point(database, (*vv)[0], queryPoint, add_point_func, (void*)this); | 602 lsh->serial_retrieve_point(database, (*vv)[0], queryPoint, add_point_func, (void*)this); |
603 } | 603 } |
604 else if(numVecsAboveThreshold) | 604 else if(numVecsAboveThreshold) |
605 for( Uns32T pointID = 0 ; pointID < Nq; pointID++ ) | 605 for( Uns32T pointID = 0 ; pointID < Nq; pointID++ ) |
606 if(!use_absolute_threshold || (use_absolute_threshold && (*qpp++ >= absolute_threshold))) | 606 if(!use_absolute_threshold || (use_absolute_threshold && (*qpp++ >= absolute_threshold))) { |
607 if((lsh->get_lshHeader()->flags&O2_SERIAL_FILEFORMAT2) || lsh_in_core) | 607 if((lsh->get_lshHeader()->flags&O2_SERIAL_FILEFORMAT2) || lsh_in_core) { |
608 lsh->retrieve_point((*vv)[pointID], pointID, add_point_func, (void*)this); | 608 lsh->retrieve_point((*vv)[pointID], pointID, add_point_func, (void*)this); |
609 else | 609 } else { |
610 lsh->serial_retrieve_point(database, (*vv)[pointID], pointID, add_point_func, (void*)this); | 610 lsh->serial_retrieve_point(database, (*vv)[pointID], pointID, add_point_func, (void*)this); |
611 } | |
612 } | |
611 | 613 |
612 if(lsh_exact) | 614 if(lsh_exact) |
613 // Perform exact distance computation on point pairs in exact_evaluation_queue | 615 // Perform exact distance computation on point pairs in exact_evaluation_queue |
614 query_loop_points(query, qnPtr, qpPtr, meanQdur, numVectors); | 616 query_loop_points(query, qnPtr, qpPtr, meanQdur, numVectors); |
615 | 617 |