# HG changeset patch # User mas01cr # Date 1226498726 0 # Node ID 6ff688bac7b71047d434747021867d5aedac13f1 # Parent 08d5f6fe348e57024d6a5dcaeb1384966ef2bb8d One more set of braces to avoid ambiguous `else's diff -r 08d5f6fe348e -r 6ff688bac7b7 index.cpp --- a/index.cpp Wed Nov 12 14:01:09 2008 +0000 +++ b/index.cpp Wed Nov 12 14:05:26 2008 +0000 @@ -603,11 +603,13 @@ } else if(numVecsAboveThreshold) for( Uns32T pointID = 0 ; pointID < Nq; pointID++ ) - if(!use_absolute_threshold || (use_absolute_threshold && (*qpp++ >= absolute_threshold))) - if((lsh->get_lshHeader()->flags&O2_SERIAL_FILEFORMAT2) || lsh_in_core) + if(!use_absolute_threshold || (use_absolute_threshold && (*qpp++ >= absolute_threshold))) { + if((lsh->get_lshHeader()->flags&O2_SERIAL_FILEFORMAT2) || lsh_in_core) { lsh->retrieve_point((*vv)[pointID], pointID, add_point_func, (void*)this); - else + } else { lsh->serial_retrieve_point(database, (*vv)[pointID], pointID, add_point_func, (void*)this); + } + } if(lsh_exact) // Perform exact distance computation on point pairs in exact_evaluation_queue